Tile - YParticle - Is Particle Enabled – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(8 intermediate revisions by 2 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. | |||
--> | |||
== Is Particle Enabled(Entity, Id) == | |||
[[File:YlandsTile-798.png]] | |||
<pre>static isEnabled(entity: YEntity, id: string): boolean;</pre> | |||
=== Parameters === | |||
==== entity ==== | |||
==== id ==== | |||
=== Returns === | |||
'''boolean''' | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | |||
Returns whether the target '''entity''' has the selected '''particle effect''' active. Select the '''string ID''' for the target '''particle effect'''. | |||
=== Notes === | |||
* Only works on '''entities''' with previously '''placed'''/'''worn''' '''particle effects'''. | |||
---- | ---- | ||
{{Ylands | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Latest revision as of 15:27, 24 November 2023
Is Particle Enabled(Entity, Id)
static isEnabled(entity: YEntity, id: string): boolean;
Parameters
entity
id
Returns
boolean
Availability
Description
Returns whether the target entity has the selected particle effect active. Select the string ID for the target particle effect.
Notes
- Only works on entities with previously placed/worn particle effects.