Difference between revisions of "Action Script"

692 bytes added ,  01:09, 6 June 2023
Added Note that Actions do not work as Properties in the CK
imported>Plplecuyer
 
(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().
14

edits