This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dragengine:modules:dragonscript:behavior_particleemitter [2025/05/01 17:54] – [Optional Behaviors] dragonlord | dragengine:modules:dragonscript:behavior_particleemitter [2025/05/04 13:40] (current) – [particleEmitter.check] dragonlord | ||
---|---|---|---|
Line 142: | Line 142: | ||
^Parameter^Value^Description^ | ^Parameter^Value^Description^ | ||
|casting|true, | |casting|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 171: | Line 172: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | ====== 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 '' | ||
+ | |||
+ | ===== particleEmitter.startCasting ===== | ||
+ | |||
+ | Start casting particles. | ||
+ | |||
+ | ===== particleEmitter.stopCasting ===== | ||
+ | |||
+ | Stop casting particles. | ||
+ | |||
+ | ===== particleEmitter.lastParticleDied ===== | ||
+ | |||
+ | Last particle of a burst emission died. | ||
====== Required Behaviors ====== | ====== Required Behaviors ====== | ||
Line 180: | Line 205: | ||
* [[behavior_collider|ECBehaviorCollider]]: | * [[behavior_collider|ECBehaviorCollider]]: | ||
* [[behavior_behaviortree|ECBehaviorBehaviorTree]]: | * [[behavior_behaviortree|ECBehaviorBehaviorTree]]: | ||
+ | * [[behavior_statemachine|ECBehaviorStateMachine]]: | ||
====== Persistency ====== | ====== Persistency ====== | ||
Line 243: | Line 269: | ||
| | ||
<string name=' | <string name=' | ||
+ | | ||
+ | <!-- optional: use behavior tree with id instead of empty string --> | ||
+ | <string name=' | ||
+ | | ||
+ | <!-- optional: use state machine with id instead of empty string --> | ||
+ | <string name=' | ||
| | ||
<!-- set element properties. omit property prefix if used inside behavior tag --> | <!-- set element properties. omit property prefix if used inside behavior tag --> |