PlayEffect (script event)

From modwiki

Jump to: navigation, search
Image:Q4square_bg.png The information on this page is specific to Quake 4.

Description

Plays an effect on a particular location of the entity.

Usage

In your script type...

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.


Personal tools
Main