Difference between revisions of "EvaluatePackage"

Jump to navigation Jump to search
68 bytes added ,  08:06, 10 October 2010
imported>Vswe
m (Added Search Terms)
imported>Hannibalektr
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".


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

Navigation menu