Tile - YParticle - Set Particle Enabled – Ylands

From Bohemia Interactive Community
Revision as of 15:27, 24 November 2023 by Lou Montana (talk | contribs) (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
(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

Availability

Server

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.