This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
ded:state [2019-12-15 16:40] skyjake [Action] |
ded:state [2019-12-22 22:05] skyjake [Action] |
||
---|---|---|---|
Line 55: | Line 55: | ||
==== Action ==== | ==== Action ==== | ||
- | The [[action]] to be performed when a [[thing]] enters this state. Each game plugin defines its own set of action routines (native code). | + | The action to be performed when a [[thing]] enters this state. Each game plugin defines its own set of action routines (native code). |
In [[version:2.2]], the action may also be defined using Doomsday Script. In this case, the contents of the Action string are parsed as a script and executed when a thing or psprite enters the state. Variables available in the script: | In [[version:2.2]], the action may also be defined using Doomsday Script. In this case, the contents of the Action string are parsed as a script and executed when a thing or psprite enters the state. Variables available in the script: |