Tile - YParticle - Add Placed Particle – Ylands

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