This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| dragengine:modules:dragonscript:behavior_behaviortreetimer [2025/03/12 15:48] – created dragonlord | dragengine:modules:dragonscript:behavior_behaviortreetimer [2026/02/11 18:18] (current) – dragonlord | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{tag> | {{tag> | ||
| <WRAP youarehere> | <WRAP youarehere> | ||
| - | [[: | + | [[: |
| </ | </ | ||
| Line 12: | Line 12: | ||
| Behavior adds behavior tree actions and conditions to an [[behavior_behaviortree|ECBehaviorBehaviorTree]] allowing behavior trees to start and wait for multiple independent timers. | Behavior adds behavior tree actions and conditions to an [[behavior_behaviortree|ECBehaviorBehaviorTree]] allowing behavior trees to start and wait for multiple independent timers. | ||
| + | |||
| + | See also: | ||
| + | * [[dragengine: | ||
| ====== Instance Counts ====== | ====== Instance Counts ====== | ||
| Line 68: | Line 71: | ||
| <code xml> | <code xml> | ||
| <action name=' | <action name=' | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ===== timer.running ===== | ||
| + | |||
| + | Determines if timer is running and has not elapsed yet. Optionally as parameter use '' | ||
| + | |||
| + | This is an example of using this action: | ||
| + | <code xml> | ||
| + | <action name=' | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ===== timer.finished ===== | ||
| + | |||
| + | Determines if a timer has finished. Optionally as parameter use '' | ||
| + | |||
| + | This is an example of using this action: | ||
| + | <code xml> | ||
| + | <action name=' | ||
| < | < | ||
| </ | </ | ||
| Line 102: | Line 127: | ||
| ====== Required Behaviors ====== | ====== Required Behaviors ====== | ||
| - | This behavior requires these other behaviors: | ||
| * [[behavior_behaviortree|ECBehaviorBehaviorTree]] | * [[behavior_behaviortree|ECBehaviorBehaviorTree]] | ||