Difference between revisions of "Action Script"
imported>Plplecuyer |
EgoBallistic (talk | contribs) (Added Note that Actions do not work as Properties in the CK) |
||
Line 23: | Line 23: | ||
== Events == | == Events == | ||
None | None | ||
== Notes == | |||
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: | |||
<source lang="papyrus"> | |||
Action Property ActionInteractionExit Auto Const | |||
</source> | |||
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(). |
Latest revision as of 01:09, 6 June 2023
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().