This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
funcs [2021/12/06 13:50] – [getEmitterSetTypes] hneg | funcs [2022/03/12 08:58] (current) – [Examples] hneg | ||
---|---|---|---|
Line 100: | Line 100: | ||
<WRAP indent> | <WRAP indent> | ||
Deletes given emitter by name or by the object name it's attached to. | Deletes given emitter by name or by the object name it's attached to. | ||
+ | __If the emitter is part of an emitter set the whole set will be deleted__. | ||
Arguments: | Arguments: | ||
Line 124: | Line 125: | ||
Usage: | Usage: | ||
< | < | ||
- | </ | ||
- | ==== deleteEmitterSet ==== | ||
- | <WRAP todo> TODO: function doesn' | ||
- | <WRAP indent> | ||
- | Deletes given emitter set either by any emitter/ | ||
- | |||
- | Arguments: | ||
- | * emitter (OBJECT) or emitter name (STRING) or object emitter(s) attached to (OBJECT) | ||
- | |||
- | Returns: | ||
- | * nothing | ||
- | |||
- | Usage: | ||
- | < | ||
- | //TODO | ||
- | </ | ||
</ | </ | ||
==== detachEmitter ==== | ==== detachEmitter ==== | ||
Line 247: | Line 232: | ||
</ | </ | ||
==== getLightAttenuation ==== | ==== getLightAttenuation ==== | ||
+ | <WRAP indent> | ||
+ | Arguments: | ||
+ | * #lightpoint / # | ||
+ | |||
+ | Returns: | ||
+ | * ARRAY of light attenuation values | ||
+ | |||
+ | Usage: | ||
+ | < | ||
+ | " | ||
+ | </ | ||
+ | </ | ||
==== getLightColor ==== | ==== getLightColor ==== | ||
+ | <WRAP indent> | ||
+ | Arguments: | ||
+ | * #lightpoint / # | ||
+ | |||
+ | Returns: | ||
+ | * ARRAY of color data (RGB) | ||
+ | |||
+ | Usage: | ||
+ | < | ||
+ | " | ||
+ | </ | ||
+ | </ | ||
==== getLightDayLight ==== | ==== getLightDayLight ==== | ||
+ | <WRAP indent> | ||
+ | Arguments: | ||
+ | * #lightpoint / # | ||
+ | |||
+ | Returns: | ||
+ | * BOOLEAN | ||
+ | |||
+ | Usage: | ||
+ | < | ||
+ | " | ||
+ | </ | ||
+ | </ | ||
==== getLightEmissiveColor ==== | ==== getLightEmissiveColor ==== | ||
+ | <WRAP indent> | ||
+ | Arguments: | ||
+ | * #lightpoint / # | ||
+ | |||
+ | Returns: | ||
+ | * ARRAY of emissive color data (RGB) | ||
+ | |||
+ | Usage: | ||
+ | < | ||
+ | " | ||
+ | </ | ||
+ | </ | ||
==== getLightFlareMaxDistance ==== | ==== getLightFlareMaxDistance ==== | ||
+ | <WRAP indent> | ||
+ | Arguments: | ||
+ | * #lightpoint / # | ||
+ | |||
+ | Returns: | ||
+ | * NUMBER | ||
+ | |||
+ | Usage: | ||
+ | < | ||
+ | " | ||
+ | </ | ||
+ | </ | ||
==== getLightFlareSize ==== | ==== getLightFlareSize ==== | ||
+ | <WRAP indent> | ||
+ | Arguments: | ||
+ | * #lightpoint / # | ||
+ | |||
+ | Returns: | ||
+ | * NUMBER | ||
+ | |||
+ | Usage: | ||
+ | < | ||
+ | " | ||
+ | </ | ||
+ | </ | ||
==== getLightIntensity ==== | ==== getLightIntensity ==== | ||
+ | <WRAP indent> | ||
+ | Arguments: | ||
+ | * #lightpoint / # | ||
+ | |||
+ | Returns: | ||
+ | * NUMBER | ||
+ | |||
+ | Usage: | ||
+ | < | ||
+ | " | ||
+ | </ | ||
+ | </ | ||
==== getLightUseFlare ==== | ==== getLightUseFlare ==== | ||
+ | <WRAP indent> | ||
+ | Arguments: | ||
+ | * #lightpoint / # | ||
+ | |||
+ | Returns: | ||
+ | * BOOLEAN | ||
+ | |||
+ | Usage: | ||
+ | < | ||
+ | " | ||
+ | </ | ||
+ | </ | ||
==== getParticleCircle ==== | ==== getParticleCircle ==== | ||
+ | <WRAP indent> | ||
+ | Arguments: | ||
+ | * particle name (STRING) or # | ||
+ | |||
+ | Returns: | ||
+ | * particle circle (ARRAY) | ||
+ | |||
+ | Usage: | ||
+ | < | ||
+ | " | ||
+ | </ | ||
+ | </ | ||
==== getParticleFire ==== | ==== getParticleFire ==== | ||
+ | <WRAP indent> | ||
+ | Arguments: | ||
+ | * particle name (STRING) or # | ||
+ | |||
+ | Returns: | ||
+ | * particle fire (ARRAY) | ||
+ | |||
+ | Usage: | ||
+ | < | ||
+ | " | ||
+ | </ | ||
+ | </ | ||
==== getParticleInterval ==== | ==== getParticleInterval ==== | ||
+ | <WRAP indent> | ||
+ | Arguments: | ||
+ | * particle name (STRING) or # | ||
+ | |||
+ | Returns: | ||
+ | * drop interval (NUMBER) | ||
+ | |||
+ | Usage: | ||
+ | < | ||
+ | " | ||
+ | </ | ||
+ | </ | ||
==== getParticleParams ==== | ==== getParticleParams ==== | ||
+ | <WRAP indent> | ||
+ | Arguments: | ||
+ | * particle name (STRING) or # | ||
+ | |||
+ | Returns: | ||
+ | * particle params (ARRAY) | ||
+ | |||
+ | Usage: | ||
+ | < | ||
+ | " | ||
+ | </ | ||
+ | </ | ||
==== getParticleRandom ==== | ==== getParticleRandom ==== | ||
+ | <WRAP indent> | ||
+ | |||
+ | Arguments: | ||
+ | * particle name (STRING) or # | ||
+ | |||
+ | Returns: | ||
+ | * particle random (ARRAY) | ||
+ | |||
+ | Usage: | ||
+ | < | ||
+ | " | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== Examples ===== | ||
+ | <WRAP todo> |