GetCurrentPackage - Actor
Revision as of 15:26, 18 October 2011 by imported>Vitamant (1 revision: Clobber re-import by Henning)
Member of: Actor Script
Gets the Package this actor is currently running.
Syntax[edit | edit source]
Package Function GetCurrentPackage() native
Parameters[edit | edit source]
None.
Return Value[edit | edit source]
The Package the actor's AI is currently running.
Examples[edit | edit source]
; Is Alice currently patrolling?
if (Alice.GetCurrentPackage() == PatrolProperty)
Debug.Trace("Alice is patrolling")
endIf