This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dragengine:modules:dragonscript:behavior_light [2025/05/02 21:49] – [Optional Behaviors] dragonlord | dragengine:modules:dragonscript:behavior_light [2025/05/04 13:40] (current) – [light.check] dragonlord | ||
---|---|---|---|
Line 237: | Line 237: | ||
^Parameter^Value^Description^ | ^Parameter^Value^Description^ | ||
|activated|true, | |activated|true, | ||
+ | |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 266: | Line 267: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | ====== 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 '' | ||
+ | |||
+ | ===== light.activated ===== | ||
+ | |||
+ | Light has been activated. | ||
+ | |||
+ | ===== light.deactivated ===== | ||
+ | |||
+ | Light has been deactivated. | ||
====== Required Behaviors ====== | ====== Required Behaviors ====== | ||
Line 276: | Line 297: | ||
* [[behavior_behaviortree|ECBehaviorBehaviorTree]]: | * [[behavior_behaviortree|ECBehaviorBehaviorTree]]: | ||
* [[behavior_statemachine|ECBehaviorStateMachine]]: | * [[behavior_statemachine|ECBehaviorStateMachine]]: | ||
- | |||
====== Persistency ====== | ====== Persistency ====== |