Tile - YParticle - Play Plarticle – Ylands

From Bohemia Interactive Community
Revision as of 14: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

Play Plarticle(Particle, Position, Rotation, Scale, Color)

YlandsTile-586.png

static play(particle: YParticle, position: YVector3, rotation: YVector3, scale: number, color: YColor): void;

Parameters

particle

Particle effect to be played

position

Target position

rotation

Target rotation

scale

Particle scale

color

Particle color

Availability

Server

Description

Allows to play particle effect at given position, with a specified custom color.

Notes

  • Particle effect will play only once.