Tile - YParticle - Is Particle Enabled – Ylands

From Bohemia Interactive Community
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.