• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] Triggering Unit

Status
Not open for further replies.
Level 2
Joined
Apr 10, 2004
Messages
10
Simple thing, I have a custom script:
JASS:
call SetUnitAnimationByIndex(udg_Variable,5)
I dont want the variable to be reset if another player also triggers the event, so what do I replace the name of the variable with so it refers to the triggering unit instead of the variable?
 
Level 3
Joined
Dec 31, 2003
Messages
42
you can usually just create a GUI-trigger with what you want and then convert it to custom text. That's how I learn :>
 
Status
Not open for further replies.
Top