Skip to reading
PCA Script Programming

detach_particle_effect()

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Detach Particle Effect | Action ID: DetachParticleEffect

Detach a particle-effect entity from its target.

Source table from detach_particle_effect(), page 168
Option key / fieldMeaning and accepted inputDefault
Particle Effect entityIdChoose a scene entity ID.Blank

Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.

Code example
detach_particle_effect({"entityId": "archive_door"})

In use. Detach a trailing effect when the carried object is put down. If the emitter should stop too, change its emission/enabled state through the appropriate effect setup or supported property action.

Page 168 of 357Permalink
Go to page