Difference between revisions of "EvaluatePackage"

Jump to navigation Jump to search
1 byte added ,  21:29, 17 December 2010
m
imported>Hannibalektr
imported>Bruneauinfo
 
Line 10: Line 10:
*This function should be used sparingly as it can be slow if the actor has a long list of packages and conditions to test.  
*This function should be used sparingly as it can be slow if the actor has a long list of packages and conditions to test.  
*Avoid calling evp at times when the actor is already updating his AI, such as immediately after [[removeScriptPackage]] or [[forceFlee]] is called. Otherwise the game may crash.
*Avoid calling evp at times when the actor is already updating his AI, such as immediately after [[removeScriptPackage]] or [[forceFlee]] is called. Otherwise the game may crash.
The actor id used in the above script is the actors "reference id", i.e., actorREF.evp
*The actor id used in the above script is the actors "reference id", i.e., actorREF.evp


[[Category: Functions]]
[[Category: Functions]]
Anonymous user

Navigation menu