ScriptEvent:playEffectMaxVisDist

From Mod Wiki

Parameters

string key -- Key to look up the effect from.
string joint -- Name of the joint to play the effect on.
boolean loop -- Whether the effect should be once only, or loop.
float maxVisDist -- Maximum distance the effect will be visible from.
boolean isStatic -- Whether the particle effect is static or not

Result

handle

Supported By

idEntity

Comments

  • If no joint is specified, the joint cannot be found, or the entity does not support animated models, the effect will be played at the entity's origin.
  • The key must start with 'fx_'.

Functionality

Looks up an effect on the entity and plays it at the specified joint, and returns a handle to the effect.