PlayEffect (script event)

The information on this page is specific to Quake 4 .


Game class

This event operates on an instance of the game class type {{{gameclass}}}

Description

Plays an effect on a particular location of the entity.

Usage

void playEffect( string effectName , string boneName , float loop )

Parameters

  • [effectName] - Name of effect to play.
  • [boneName] - Skeleton location to play the effect at.
  • [loop] - Whether to loop the effect.

Examples

$my_entity.playEffect( "fire64", "joint01", 1 );

Notes

This script event does not return any values.