Tile - YParticle - Set Particle Enabled – Ylands

From Bohemia Interactive Community
Revision as of 11:16, 12 November 2021 by YlandsClassyBot (talk | contribs)
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.