Tile - YParticle - Add Worn Particle – Ylands
Jump to navigation
Jump to search
(Created page with "Image:Ylands_Tile_-_Play_particle.png *Allows to '''play''' '''particle effect''' at given position. *Particle effect will '''pla...") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[ | <!--- | ||
* | THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | ||
* | --> | ||
== Add Worn Particle(Entity, Particle template, Id, Bone, Offset, Rotation) == | |||
[[File:YlandsTile-885.png]] | |||
<pre>static addWornAbsolutePosition(entity: YEntity, template: YParticleEffectTemplate, id: string, bone: YAnimationBone, offset: YVector3, rotation: YVector3): void;</pre> | |||
=== Parameters === | |||
==== entity ==== | |||
==== template ==== | |||
==== id ==== | |||
==== bone ==== | |||
==== offset ==== | |||
==== rotation ==== | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | |||
''Add''* a '''worn particle effect''' from a '''template''' to the target '''entity's animation bone''' at the given '''offset position''' and a '''rotation'''. | |||
=== Notes === | |||
* Set the '''string ID''' for the reference by other tiles. | |||
== Add Worn Particle(Entity, Particle template, Id) == | |||
[[File:YlandsTile-887.png]] | |||
<pre>static addWornLineAutoscale(entity: YEntity, template: YParticleEffectTemplate, id: string): void;</pre> | |||
=== Parameters === | |||
==== entity ==== | |||
==== template ==== | |||
==== id ==== | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | |||
''Add''* a '''worn particle effect''' from a '''template''' to the target '''entity'''. '''Line''' of the effect scales automatically. | |||
== Add Worn Particle(Entity, Particle template, Id, Bone) == | |||
[[File:YlandsTile-886.png]] | |||
<pre>static addWornVolumeAutoscale(entity: YEntity, template: YParticleEffectTemplate, id: string, bone: YAnimationBone): void;</pre> | |||
=== Parameters === | |||
==== entity ==== | |||
==== template ==== | |||
==== id ==== | |||
==== bone ==== | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | |||
''Add''* a '''worn particle effect''' from a '''template''' to the target '''entity's animation bone'''. '''Volume''' of the effect scales automatically. | |||
---- | ---- | ||
{{Ylands | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Latest revision as of 15:27, 24 November 2023
Add Worn Particle(Entity, Particle template, Id, Bone, Offset, Rotation)
static addWornAbsolutePosition(entity: YEntity, template: YParticleEffectTemplate, id: string, bone: YAnimationBone, offset: YVector3, rotation: YVector3): void;
Parameters
entity
template
id
bone
offset
rotation
Availability
Description
Add* a worn particle effect from a template to the target entity's animation bone at the given offset position and a rotation.
Notes
- Set the string ID for the reference by other tiles.
Add Worn Particle(Entity, Particle template, Id)
static addWornLineAutoscale(entity: YEntity, template: YParticleEffectTemplate, id: string): void;
Parameters
entity
template
id
Availability
Description
Add* a worn particle effect from a template to the target entity. Line of the effect scales automatically.
Add Worn Particle(Entity, Particle template, Id, Bone)
static addWornVolumeAutoscale(entity: YEntity, template: YParticleEffectTemplate, id: string, bone: YAnimationBone): void;
Parameters
entity
template
id
bone
Availability
Description
Add* a worn particle effect from a template to the target entity's animation bone. Volume of the effect scales automatically.