Tile - YParticle - Play Particle – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Play particle to Ylands:Tile - YParticle - Play Particle: New Structure)
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Image:Ylands_Tile_-_Play_particle.png]]
<!---
*Allows to '''play''' [[Ylands Tile - Particle effect literal|'''particle effect''']] at given position.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*Particle effect will '''play''' only '''once'''.
-->
== Play Particle(Particle, Position, Rotation, Scale) ==
 
[[File:YlandsTile-170.png]]
 
<pre>static play(particle: YParticle, position: YVector3, rotation: YVector3, scale: number): void;</pre>
=== Parameters ===
 
==== particle ====
 
Target Particle Effect
 
==== position ====
 
Position to play the effect at
 
==== rotation ====
 
Rotation of the effect
 
==== scale ====
 
Scale of the effect
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Allows to '''play''' '''particle effect''' at given position.
 
=== Notes ===
 
* Particle effect will '''play''' only '''once'''.
 
== Play Particle(Particle template, Position, Rotation) ==
 
[[File:YlandsTile-796.png]]
 
<pre>static play(particleTemplate: YParticleEffectTemplate, position: YVector3, rotation: YVector3): void;</pre>
=== Parameters ===
 
==== particleTemplate ====
 
==== position ====
 
==== rotation ====
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Allows to '''play''' a '''particle effect''' from a '''particle effect template''' at given position once.
 
== Play Particle(Particle template, Entity, Position, Rotation) ==
 
[[File:YlandsTile-1307.png]]
 
<pre>static play(particleTemplate: YParticleEffectTemplate, entity: YEntity, position: YVector3, rotation: YVector3): void;</pre>
=== Parameters ===
 
==== particleTemplate ====
 
==== entity ====
 
==== position ====
 
==== rotation ====
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Allows to '''play''' '''particle effect''' on selected entity.




----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.10]]

Latest revision as of 14:27, 24 November 2023

Play Particle(Particle, Position, Rotation, Scale)

YlandsTile-170.png

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

Parameters

particle

Target Particle Effect

position

Position to play the effect at

rotation

Rotation of the effect

scale

Scale of the effect

Availability

Server

Description

Allows to play particle effect at given position.

Notes

  • Particle effect will play only once.

Play Particle(Particle template, Position, Rotation)

YlandsTile-796.png

static play(particleTemplate: YParticleEffectTemplate, position: YVector3, rotation: YVector3): void;

Parameters

particleTemplate

position

rotation

Availability

Server

Description

Allows to play a particle effect from a particle effect template at given position once.

Play Particle(Particle template, Entity, Position, Rotation)

YlandsTile-1307.png

static play(particleTemplate: YParticleEffectTemplate, entity: YEntity, position: YVector3, rotation: YVector3): void;

Parameters

particleTemplate

entity

position

rotation

Availability

Server

Description

Allows to play particle effect on selected entity.