QUOTE(M_s4 @ Feb 4 2006, 02:15 PM)
Preserve Trigger Ally whoever player they are not supposed to attack with hyper triggers. The conditions to that first trigger is whenever you want it be on.
[right][snapback]420505[/snapback][/right]
Uhhh.. He wants them to not move and attack, not to move and not attack.
Not everything in wc3 can be done in sc.
In other words, what you wanted to happen in towers from wc3 will not work as well as in sc.
If you want the units to be unable to move yet attack units (they will attack any unit, even air units), then you have to make a location over an area that the units cannot walk (such as water). Add a trigger like:
(Hyper trigger is required)
[always//wait0msx62, preserve trigger, comment"none"]x3+
[always//move all "whatever unit you want to stop moving" to "the location over the area that the units cannot move," preserve trigger].
With this trigger, the units will continuously be stuck wherever they are standing yet still attack nonallied units.
There is no way in sc to disable units from attacking air units (unless they already naturally cannot attack air units).
You may also place the location off the map if you would like. If you place it off the map you can do it with air units.
To place a location off a map simply open starforge, resize the map bar on the left side on the right side of the minimap view. Then move the square in the minimap view to the bottom right most area. Then click the arrows to start scrolling off the map into grey area.
Throw a location there. This is also a great way to make the trigger viewer1 to crash or completely miss the location. Fyi to mindarchon.