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

[Trigger] Timing between launch of a trigger

Status
Not open for further replies.
Level 2
Joined
Jun 5, 2006
Messages
18
I've done a trigger that is launched from a spell and uses a global to preserve the target of the spell between some triggers and a "Wait X.XX"....

what happens if another unit launch this trigger before the Wait X.XX finishes?

does the target change?
what should to avoid this? i necessary have to preserve the target for this unit between a lot of triggers and some waits
 
Level 3
Joined
May 28, 2007
Messages
57
Yeah the unit target will change beacuse the trigger is not MUI a way to avoid it would be jass with handel variables.
 
Level 2
Joined
Jun 5, 2006
Messages
18
Yeah the unit target will change beacuse the trigger is not MUI a way to avoid it would be jass with handel variables.

mh...unfortunately there aren't a way to store MORE values on the unit (eh, it's easier with it...)

i know handles vars, but i can't find a way to avoid this...should i create all triggers using local vars rather then globals?
 
Status
Not open for further replies.
Top