I saw the waypoint option in XML spawner but unfortunatly i couldnt get it to work. I have 3 guards on top of a wall and I would like them to walk back and forth from one end to the other, is this possible?
QUOTE (crabby654 @ August 31, 2006 12:07 pm) |
I saw the waypoint option in XML spawner but unfortunatly i couldnt get it to work. I have 3 guards on top of a wall and I would like them to walk back and forth from one end to the other, is this possible? |
yes. First you would set up your waypoints, link them together by double clicking and targeting the next waypoint in the link, and then assign the Waypoint property on the spawner to point to the starting waypoint.
have the spawners themselves as waypoints?
ok nm i got the waypoints set up, and i set the waypoint property to the starting waypoint, but they arent going.
**EDIT**
nevermind i had to do a respawn and they are going, SWEET!
QUOTE (crabby654 @ August 31, 2006 12:27 pm) |
ok nm i got the waypoints set up, and i set the waypoint property to the starting waypoint, but they arent going.
**EDIT** nevermind i had to do a respawn and they are going, SWEET! |
note, that you can also have them spawn near specific waypoints by using the #WAYPOINT spawn control keyword
#WAYPOINT,prefix[,range] - places the spawn at the location of randomly selected waypoint runes that start with the given prefix.
like
#WAYPOINT,Patrol,1; guard
where you would have named the waypoints beginning with the string "Patrol"
This would only affect their location when respawned. They would still follow the waypoints in exactly the same way.