• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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