Background for Fallout 4
Member of the Actor script
PackagefunctionGetCurrentPackage()Native

Description

Wiki Description

Gets the Package this actor is currently running.

Documentation Comment

Gets this actor's current AI package


Caveats


Examples

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

Auto-Generated Example

Package returnedValue = myActor__toCallFunctionOn.GetCurrentPackage()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.