Action Script

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search


Extends: Form Script

Script for the manipulation of action base objects. Actions are the "animations" you see in the "idle manager".

Definition[edit | edit source]

ScriptName Action extends Form Native Hidden

Properties[edit | edit source]

None

Global Functions[edit | edit source]

None

Member Functions[edit | edit source]

None

Events[edit | edit source]

None

Notes[edit | edit source]

The Creation Kit will not allow most Actions to fill Properties. Clicking Edit Value on an Action property will only display a small number of values in the drop-down list. Attempting to Auto-fill with a value that is not in the dropdown will not work. For example, the following declaration:

Action Property ActionInteractionExit Auto Const

will seem to work, and the Property can be auto-filled in the Creation Kit. However, subsequently returning to the Properties window will show that the property has now been filled with NONE. To use Actions in scripts, declare them as Action variables and fill them with GetForm() or GetFormFromFile().