Tile - YParticle - Set Particle Enabled – Ylands

From Bohemia Interactive Community
Revision as of 08:53, 8 July 2021 by YlandsClassyBot (talk | contribs) (Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Set Particle Enabled(Entity, Id, Enable) == ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Set Particle Enabled(Entity, Id, Enable)

YlandsTile-797.png

static enable(entity: YEntity, id: string, enable: boolean): void;

Parameters

entity

id

enable

Description

Enable/disable a particle effect on the target entity. Select the string ID for the target particle effect.

Notes

  • Only works on entities with previously placed/worn particle effects.