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/02 21:49] – [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 181: | Line 206: | ||
| * [[behavior_behaviortree|ECBehaviorBehaviorTree]]: | * [[behavior_behaviortree|ECBehaviorBehaviorTree]]: | ||
| * [[behavior_statemachine|ECBehaviorStateMachine]]: | * [[behavior_statemachine|ECBehaviorStateMachine]]: | ||
| - | |||
| ====== Persistency ====== | ====== Persistency ====== | ||