GetCurrentPackage - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

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

See Also[edit | edit source]