Tile - YParticle - Add Placed Particle – 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

Add Placed Particle(Entity, Particle template, Id, Offset, Rotation)

YlandsTile-800.png

static addPlacedAbsolutePosition(entity: YEntity, template: YParticleEffectTemplate, id: string, offset: YVector3, rotation: YVector3): void;

Parameters

entity

template

id

offset

rotation

Availability

Server

Description

Add* a placed particle effect from a template to the target entity at the given offset position and a rotation.

Notes

  • Set the string ID for the reference by other tiles.

Add Placed Particle(Entity, Particle template, Id)

YlandsTile-802.png

static addPlacedLineAutoscale(entity: YEntity, template: YParticleEffectTemplate, id: string): void;

Parameters

entity

template

id

Availability

Server

Description

Add* a placed particle effect from a template to the target entity. Line of the effect scales automatically.

Notes

  • Set the string ID for the reference by other tiles.

Add Placed Particle(Entity, Particle template, Id)

YlandsTile-801.png

static addPlacedVolumeAutoscale(entity: YEntity, template: YParticleEffectTemplate, id: string): void;

Parameters

entity

template

id

Availability

Server

Description

Add* a placed particle effect from a template to the target entity. Volume of the effect scales automatically.

Notes

  • Set the string ID for the reference by other tiles.