- Joined
- Mar 26, 2009
- Messages
- 301
Here is what I need:
In war3, when ensnare is cast on a unit, it disables movement, but not attack, spellcasting or turning (around itself) Using this to my advantage, I made a turret system. When player selects the turret (sentry gun) and right clicks on a spot, turret will face that direction. This was basically what I needed and It works, to a point. But, unit doesn't forget its "move" order EVER and so does not auto attack nearby enemies unless player orders unit to stop or manually attack a target. At this point, I need a trigger that:
- Waits till ensnared unit to face the direction,
- Then order it to stop so movement order will be interupted and turret will keep auto engaging nearby enemies.
I can trigger this to happen for a single unit. But if multiple of same units are selected and ordered to face a direction, "wait" action will cause a problem because it is not MUI. So what I am asking is, how do I make this MUI? =)
P.S: I only trigger in GUI, so I can't add anything to my map that can't be done via GUI (and custom scripts)
In war3, when ensnare is cast on a unit, it disables movement, but not attack, spellcasting or turning (around itself) Using this to my advantage, I made a turret system. When player selects the turret (sentry gun) and right clicks on a spot, turret will face that direction. This was basically what I needed and It works, to a point. But, unit doesn't forget its "move" order EVER and so does not auto attack nearby enemies unless player orders unit to stop or manually attack a target. At this point, I need a trigger that:
- Waits till ensnared unit to face the direction,
- Then order it to stop so movement order will be interupted and turret will keep auto engaging nearby enemies.
I can trigger this to happen for a single unit. But if multiple of same units are selected and ordered to face a direction, "wait" action will cause a problem because it is not MUI. So what I am asking is, how do I make this MUI? =)
P.S: I only trigger in GUI, so I can't add anything to my map that can't be done via GUI (and custom scripts)