Full Version : How do I - Use Waypoints?
xmlspawner >>XMLSpawner - How do I? >>How do I - Use Waypoints?
<< Prev | Next >>
ArteGordon- 01-04-2006
What are Waypoints?
Waypoints are locations that a mob will move to when it is in its default wandering mode (just walking around without a target to attack).
Multiple waypoints can be chained together so that when a mob reaches a waypoint it will then begin moving toward the next waypoint in the chain.
You would do this if you wanted mobs to follow a specified path.
You add waypoints by placing waypoint 'runes' on the ground in the world. A common way of doing this is with the command
[add waypoint
to create a waypoint rune and place it in the world. Keep adding as many as you would like to have in your chain of waypoints.
Then to link them together just double click each rune and then target the next one in the chain.
Setting spawns to follow waypoints?
To spawn things that will follow those waypoints, just set the Waypoint property on the spawner to point to the starting waypoint (set the property on the spawner and target the waypoint rune).
When you save xmlspawners that have a Waypoint setting, either the name (if the waypoint has been named) or the Serial id of the waypoint will also be saved so that if you reload the spawner the waypoint setting will be restored.
Lara- 01-15-2007
The way points work GREAT. One question tho, they only seem to move along them when someone is near by. The move for me as an admin, and I assume they move for players. Is there away to set them to move even if no players are around?
ArteGordon- 01-15-2007
that is a function of the default creature ai. I posted some mods that allow you to control this.
http://xmlspawner.15.forumer.com/index.php?showtopic=387
Lara- 01-15-2007
Oh thank you very much, im sorry I didnt find it. Your forum search doesnt like me very much *smiles*.
Lara
ArteGordon- 01-16-2007
One little tip is to change the 'Search posts from...' option from the default '30 days' to 'any date'.
Another waypoint tip is to take a look at the #WAYPOINT keyword that allows you spawn at waypoints.
from xmlspawner2.txt

QUOTE
#WAYPOINT,prefix[,range] - places the spawn at the location of randomly selected waypoint runes that start with the given prefix.

QUOTE
place spawns at the randomly selected named waypoints