Ylands:Tile - YParticle - Set Particle Enabled

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