Tile - YParticle - Play Plarticle – Ylands

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