Mod:Creation Kit/GetCurrentPackage - Actor

Member of: Mod:Creation Kit/Actor Script

Gets the Package this actor is currently running.

Syntax
Package Function GetCurrentPackage native

Parameters
None.

Return Value
The Package the actor's AI is currently running.

Examples
if (Alice.GetCurrentPackage == PatrolProperty) Debug.Trace("Alice is patrolling") endIf
 * Is Alice currently patrolling?