- 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
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.
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)
-
Loop - 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)
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.