This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dragengine:modules:dragonscript:behavior_toggle [2025/05/02 21:52] – [Optional Behaviors] dragonlord | dragengine:modules:dragonscript:behavior_toggle [2025/05/04 13:50] (current) – [toggle.check] dragonlord | ||
---|---|---|---|
Line 80: | Line 80: | ||
|target.fired|'' | |target.fired|'' | ||
|target.everFired|'' | |target.everFired|'' | ||
+ | |wait| |If present action returns BTResult.running instead of BTResult.failed to wait until the checks are all fulfilled| | ||
This is an example of using this action: | This is an example of using this action: | ||
Line 113: | Line 114: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | ====== State Machine Actions ====== | ||
+ | |||
+ | Same as [[# | ||
+ | |||
+ | ====== State Machine Conditions ====== | ||
+ | |||
+ | Same as [[# | ||
+ | |||
+ | ====== State Machine Events ====== | ||
+ | |||
+ | This behavior sends these state machine events. If behavior has non-empty identifier replace '' | ||
+ | |||
+ | ===== toggle.toggled ===== | ||
+ | |||
+ | Trigger target toggled. | ||
====== Required Behaviors ====== | ====== Required Behaviors ====== | ||
Line 122: | Line 139: | ||
* [[behavior_behaviortree|ECBehaviorBehaviorTree]]: | * [[behavior_behaviortree|ECBehaviorBehaviorTree]]: | ||
* [[behavior_statemachine|ECBehaviorStateMachine]]: | * [[behavior_statemachine|ECBehaviorStateMachine]]: | ||
+ | |||
====== Persistency ====== | ====== Persistency ====== | ||