RandomPatrolPath

This script allows you to create multiple patrol paths for a single AI. Create the different patrol paths as normal, but manually link the AI to the each possible starting points using AICurrentPatrol. When Sim starts, all but one of the AICurrentPatrol links will be removed, causing the AI to patrol to the destination of the remaining link. Set the parameter teleport_ai to have the AI immediately teleported to the starting point, instead of patrolling to it.

Messages Sim
Links AICurrentPatrol
Parameters teleport_ai (boolean)

Discussion




Enter your comment:
If you can't read the letters on the image, download this .wav file to get them read to you.

 
  tnhscript/randompatrolpath.txt · Last modified: 2009/02/25 17:54 by telliamed
 
Recent changes RSS feed Creative Commons License Tip Bucket Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki