Difference between revisions of "EvaluatePackage"
Jump to navigation
Jump to search
→Notes
imported>Vswe m (Added Search Terms) |
imported>Hannibalektr (→Notes) |
||
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]] |