• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

need a quik help plz

Status
Not open for further replies.
Level 7
Joined
Jun 15, 2010
Messages
218
its very very stupid, but i dont know how to reset a trigger.

got "trigger 1" [units enters region] do actions [bla bla] [wait 7 sec] do [bla bla]
And another trigger with [units leaves region] do actions [trigger turn off "trigger 1"] [trigger turn on "trigger 1"]

The problem is that if units enters region, leaves it and enters it again within 7 seconds. Then the actions below [wait 7 sec] of "trigger 1" will play inmediatly. So it dident reset:(

please help
 
Level 7
Joined
Jun 15, 2010
Messages
218
Undead Left Dominate
Events
Unit - A unit enters Domination Zone Undead Left <gen>
Conditions
Town_Interger_InUSE[1] Equal to 0
Actions
Set Town_Interger_InUSE[1] = 1
Set Town_Und_Left_Dominate_Player = (Owner of (Triggering unit))
Set Town_Unit_In_Region[1] = (Triggering unit)
Floating Text - Create floating text that reads lllllllllllllll at (Point(-19409.00, 1665.00)) with Z offset 0.00, using font size 17.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Set Town_Und_Bar = (Last created floating text)
Wait 1.00 seconds
Floating Text - Change text of Town_Und_Bar to |cff00FF00l|Rllllll... using font size 17.00
Wait 1.00 seconds
Floating Text - Change text of Town_Und_Bar to |cff00FF00ll|Rlllll... using font size 17.00
Wait 1.00 seconds
Floating Text - Change text of Town_Und_Bar to |cff00FF00lll|Rllll... using font size 17.00
Wait 1.00 seconds
Floating Text - Change text of Town_Und_Bar to |cff00FF00llll|Rlll... using font size 17.00
Wait 1.00 seconds
Floating Text - Change text of Town_Und_Bar to |cff00FF00lllll|Rll... using font size 17.00
Wait 1.00 seconds
Floating Text - Change text of Town_Und_Bar to |cff00FF00llllll|Rl... using font size 17.00
Wait 1.00 seconds
Floating Text - Change text of Town_Und_Bar to |cff00FF00lllllll|R... using font size 17.00
Wait 1.00 seconds
Floating Text - Change text of Town_Und_Bar to |cff00FF00llllllll|... using font size 17.00
Wait 1.00 seconds
Floating Text - Change text of Town_Und_Bar to |cff00FF00lllllllll... using font size 17.00
Wait 1.00 seconds
Floating Text - Change text of Town_Und_Bar to |cff00FF00lllllllll... using font size 17.00
Wait 1.00 seconds
Floating Text - Change text of Town_Und_Bar to |cff00FF00lllllllll... using font size 17.00
Wait 1.00 seconds
Floating Text - Change text of Town_Und_Bar to |cff00FF00lllllllll... using font size 17.00
Wait 1.00 seconds
Floating Text - Change text of Town_Und_Bar to |cff00FF00lllllllll... using font size 17.00
Wait 1.00 seconds
Floating Text - Change text of Town_Und_Bar to |cff00FF00lllllllll... using font size 17.00
Wait 1.00 seconds
Floating Text - Change text of Town_Und_Bar to |cff00FF00lllllllll... using font size 17.00
Wait 1.00 seconds
Unit - Change ownership of Flag 1 0372 <gen> to Town_Und_Left_Dominate_Player and Change color
If (Hero_Player_Number[(Player number of (Owner of (Triggering unit)))] Equal to Wolven_Pickers[(Player number of (Owner of (Triggering unit)))]) then do (Set Town_Race[1] = 1) else do (Do nothing)
Floating Text - Change text of Town_Und_Bar to |cff00FF00DOMINATED... using font size 17.00



----------------------------------------------------------------------------



Undead Left Canceld
Events
Unit - A unit leaves Domination Zone Undead Left <gen>
Conditions
Actions
Trigger - Turn off Undead Left Dominate <gen>
Floating Text - Destroy Town_Und_Bar
Set Town_Interger_InUSE[1] = 0
Trigger - Turn on Undead Left Dominate <gen>


-------------[This trigger doesent reset "Undead Left Dominate". When units enters, leaves and enters again within 15 seconds then the trigger bugs] ----------------
 
Status
Not open for further replies.
Top