KiLL3R

PlayFXOnTag( <effect id >, <entity>, <tag name> )


Module: Effects

Summary:

Play this effect on the entity and tag.



Example:

playfireball()
{
	fx = playfxontag(level.fx_fireball,self,"TAG_INHAND");
	wait 3;
	fx delete();
}



Required Args:

  • 1 : <effect id> The effect id returned by loadfx
  • 2 : <entity> The entity to attach the effect to
  • 3 : <tag name> Tag name to attach the effect to