Tile - YParticle - Is 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

Is Particle Enabled(Entity, Id)

YlandsTile-798.png

static isEnabled(entity: YEntity, id: string): boolean;

Parameters

entity

id

Returns

boolean

Availability

Server

Description

Returns whether the target entity has the selected particle effect active. Select the string ID for the target particle effect.

Notes

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