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

Need MUI Help

Status
Not open for further replies.
Level 7
Joined
May 15, 2009
Messages
192
Im very poor at MUI, so what I need here is pretty much someone to make a trigger for me... Which I hate to have done for me, but it seems nessecary.

I want to create a "Turn back time" spell, where you can set all units on the map, 10 seconds back. Now I know this will probaly require a 10 second loop spell, with actions like
  • Actions
    • Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Triggering unit)) Not equal to Medivh)) and do (Actions)
      • Loop - Actions
        • Unit Group - Add (Picked unit) to AllUnits_Group
        • Unit - Set the custom value of (Picked unit) to 1
        • Set UnitLoc[(Custom value of (Picked unit))] = (Position of (Picked unit))
        • Custom script: call DestroyGroup(udg_AllUnits_Group)
and also simillar triggers for remembering their health and mana.

However, I am not good with unit indexing, simply can't commprehend it. So, thx in advance to everyone. Btw if you can teach me how to do this trigger myself, I would been even happier.
 
Level 9
Joined
Apr 23, 2010
Messages
312
"Ask general questions about World Editor features and use in this forum. If you need help fixing a trigger, please post it in Triggers & Scripts. Please review the forum rules before posting."

Please move this to "Triggers & Scripts" page. This section is for generl world editor help, not triggering.
 
Status
Not open for further replies.
Top