• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Timer in MUI - How to solve the event issue (?)

Status
Not open for further replies.
Since MUI is now in its fancy times, i need it to have a timer, which of course has an array index of MUI increasing integer. The problem is that when, in the new trigger, place the event "Timer[?] expires", the system won't let me add an integer variable in the array. So, when it comes to GUI triggering how can i solve that? Don't tell me "Remaining time in (Last created timer) Less than or Equal to 1", because it simply doesn't work and it isn't that efficient.
+Rep to the helpful answer(s).
 
Level 12
Joined
Mar 26, 2005
Messages
790
I make MUI with creating dummy(array) and then set generic timer to last created unit, which make unit die in X seconds,

and then second trigger

Unit dies
Type of dying unit is DUMMY
For Each A integer from 1 to (array)
If Dummy(IntegerA) is dying unit
then blabla, make something with caster(integerA) or with targer(integerA)...
 
Status
Not open for further replies.
Top