Package Script

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Extends: Form Script

Script for the manipulation of Packages.

Definition[edit | edit source]

ScriptName Package extends Form Native Hidden

Properties[edit | edit source]

None

Global Functions[edit | edit source]

None

Member Functions[edit | edit source]

  • Quest Function GetOwningQuest()
    • Returns the Quest that owns this package.
  • Package Function GetTemplate()
    • Obtains the package this package is templated on (if any).

Events[edit | edit source]

  • Event OnChange(Actor akActor)
    • Event received when this package is preempted or ends normally (runs in parallel with the fragment)
  • Event OnEnd(Actor akActor)
    • Event received when this package ends normally (runs in parallel with the fragment)
  • Event OnStart(Actor akActor)
    • Event received when this package starts (runs in parallel with the fragment)

Related Fragments[edit | edit source]