dragengine:modules:dragonscript:behavior_behaviortreetimer
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |
| dragengine:modules:dragonscript:behavior_behaviortreetimer [2025/03/13 18:32] – [ECBehaviorBehaviorTreeTimer] dragonlord | dragengine:modules:dragonscript:behavior_behaviortreetimer [2026/02/11 18:18] (current) – dragonlord |
|---|
| <code xml> | <code xml> |
| <action name='timer.stop' id='waiting'> | <action name='timer.stop' id='waiting'> |
| | <parameter name='timer'>myTimer</parameter> |
| | </action> |
| | </code> |
| | |
| | ===== timer.running ===== |
| | |
| | Determines if timer is running and has not elapsed yet. Optionally as parameter use ''timer'' to select the timer matching an identifier used in a previous action ''timer.start''. The action immediately returns with the result. This can be used as first action in a sequence as entrance guard. |
| | |
| | This is an example of using this action: |
| | <code xml> |
| | <action name='timer.running' id='waiting'> |
| | <parameter name='timer'>myTimer</parameter> |
| | </action> |
| | </code> |
| | |
| | ===== timer.finished ===== |
| | |
| | Determines if a timer has finished. Optionally as parameter use ''timer'' to select the timer matching an identifier used in a previous action ''timer.start''. The action immediately returns with the result. This can be used as first action in a sequence as entrance guard. |
| | |
| | This is an example of using this action: |
| | <code xml> |
| | <action name='timer.finished' id='waiting'> |
| <parameter name='timer'>myTimer</parameter> | <parameter name='timer'>myTimer</parameter> |
| </action> | </action> |
dragengine/modules/dragonscript/behavior_behaviortreetimer.txt · Last modified: 2026/02/11 18:18 by dragonlord