attach_particle_effect()
Attach Particle Effect | Action ID: AttachParticleEffect
Attach an existing particle-effect entity to a target point with an optional offset.
| Option key / field | Meaning and accepted input | Default |
|---|---|---|
| Particle Effect entityId | Choose a scene entity ID. | Blank |
| Target Object targetId | Choose a scene entity ID. | Blank |
| Target Attach Point targetPoint | Name of the attach point on the target entity. | Blank |
| Attachment Offset offset | Attachment offset as [X, Y, Z]. | [0, 0, 0] |
Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.
let options = {}
options["entityId"] = "archive_door"
options["targetId"] = "archive_door"
options["targetPoint"] = ""
attach_particle_effect(options)In use. Attach smoke to a pipe's smoke_outlet point. Select the scene's particle entity, not just an imported texture used by that emitter. Keep the offset in the intended attachment space.
