User Tools

Site Tools


dragengine:modules:dragonscript:behavior_particleemitter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
dragengine:modules:dragonscript:behavior_particleemitter [2025/03/11 17:14] – created dragonlorddragengine:modules:dragonscript:behavior_particleemitter [2025/03/13 17:07] (current) dragonlord
Line 1: Line 1:
 {{tag>dragonscript behavior}} {{tag>dragonscript behavior}}
 <WRAP youarehere> <WRAP youarehere>
-[[:start|Start Page]] >> [[main|DragonScript Scripting Language]] >> [[abstractions#behavior_elementsquick_and_easy_development|Behavior Elements: Quick and Easy Development]] >> **ECBehaviorParticleEmitter**+[[:start|Start Page]] >> [[main|DragonScript Scripting Language]] >> [[dragengine:modules:dragonscript:abstractions|Abstraction Layers: How you want to build your Game]] >> [[dragengine:modules:dragonscript:behavior_elements|Behavior Elements]] >> **ECBehaviorParticleEmitter**
 </WRAP> </WRAP>
  
Line 15: Line 15:
 If the [[behavior_collider|ECBehaviorCollider]] behavior is present in the behavior element before this behavior is added the particle emitter is attached. The particle emitter is attached to the named bone if defined otherwise it is attached statically. If the [[behavior_collider|ECBehaviorCollider]] behavior is present in the behavior element before this behavior is added the particle emitter is attached. The particle emitter is attached to the named bone if defined otherwise it is attached statically.
  
 +See also:
 +  * [[gamedev:particleemitters|Particle Emitters]]
 +  * [[gamedev:deigde:editors:particleemitter|IGDE Particle Emitter Editor]]
 ====== Instance Counts ====== ====== Instance Counts ======
  
Line 93: Line 96:
   * Example (*.deeclass) <code xml><string name='particleEmitter.targetLastParticleDied'>hoseSpoutEnd</string></code>   * Example (*.deeclass) <code xml><string name='particleEmitter.targetLastParticleDied'>hoseSpoutEnd</string></code>
  
-===== Events =====+====== Events ======
  
 This behavior provides these events: This behavior provides these events:
  
-==== startCasting ====+===== startCasting =====
  
 Start casting particles. Start casting particles.
  
-==== stopCasting ====+===== stopCasting =====
  
 Stop casting particles. Stop casting particles.
  
-==== lastParticleDied ====+===== lastParticleDied =====
  
 Last particle of a burst emission died. Last particle of a burst emission died.
  
-==== particleResponse ====+===== particleResponse =====
  
 Determine response for a custom particle collision. Determine response for a custom particle collision.
Line 121: Line 124:
 ====== Optional Behaviors ====== ====== Optional Behaviors ======
  
-This behavior does support these optional behaviors: 
   * [[behavior_collider|ECBehaviorCollider]]: Attach to collider.   * [[behavior_collider|ECBehaviorCollider]]: Attach to collider.
  
dragengine/modules/dragonscript/behavior_particleemitter.1741713291.txt.gz · Last modified: 2025/03/11 17:14 by dragonlord