void EntitySetWanderDelay(int entity, int delay)
This function changes the specified entity's wander delay to a new value.
The wander delay is how long the entity will wait before wandering around again.
The value specified is in 1/100ths of a second.
This function is a part of a small family of Wander-mode effecting Entity functions, which includes: EntitySetWanderDelay, EntitySetWanderRect, EntitySetWanderZone, and EntityStop.
//This sets entity 3 on the map to take a wander-step twice // a second (which is kinda fast) EntitySetWanderDelay( 3, 50 ); //This sets entity 42 on the map to take a wander-step once // every 6 seconds (which is kinda slow) EntitySetWanderDelay( 42, 600 );
There are no talkbacks on this documentation page yet. Post the first?
Doc Nav |
Your docs |