ScriptEvent:playEffect

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.

Result

handle

Supported By

sdClientScriptEntity
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.