This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dragengine:modules:dragonscript:behavior_statemachine [2026/10/13 16:02] – [gameWorld] dragonlord | dragengine:modules:dragonscript:behavior_statemachine [2026/11/18 16:37] (current) – dragonlord | ||
|---|---|---|---|
| Line 68: | Line 68: | ||
| This behavior adds these state machine actions. | This behavior adds these state machine actions. | ||
| + | |||
| + | ===== self ===== | ||
| + | |||
| + | Set state machine parameters. | ||
| + | |||
| + | ^Parameter^Value^Description^ | ||
| + | |debug.name|string|Set logging name. This name is prepended to logs if enabled.| | ||
| + | |debug.targets|list|List of whitespace separated targets to log. Valid targets: '' | ||
| + | |||
| + | This is an example of using this action to fully hide the owner element: | ||
| + | <code xml> | ||
| + | <action name=' | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| ===== element.set ===== | ===== element.set ===== | ||
| Line 148: | Line 164: | ||
| < | < | ||
| < | < | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | This is an example of using this action to run event on [[appbehavior_behaviorstatemachine|application state machines]]: | ||
| + | <code xml> | ||
| + | <action name=' | ||
| + | < | ||
| + | < | ||
| </ | </ | ||
| </ | </ | ||