Ive seen this accomplished in many defense maps, such as random beacon defense.
I would like to know how to make units owned by human players that can be selected but you cant order them to move. In addition, they attack when a enemy unit is in range and you can also order them to cast spells.
I thought i knew how this was done, but i guess not.
I would really appreciate some help.
None.

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
1. make a location 'freeze' with the size of 1x1 and put it in the right lower corner
2. create, where the location is, some water terrain (not walkable terrain)
3.
trigger:
players: human players
C:
-always
A:
-preserve trigger
-move 'all' 'men' for 'current player' at 'anywhere' to 'freeze'
use specific ground units to decide which untis you want to make immobile.
4. you need hypertriggers, too. they will speed up the triggers.
you are not allowed to use other waits in the game instead of wait(0).
use death count timers instead of wait, if you need a wait simulation.
hypertrigger:
players: computer player who is always in the game
C:
-always
A:
-preserve trigger
-wait(0)
> copy the wait(0) till the the trigger actions are filled up to maximum.
> copy this hypertrigger 2 or 3 times
Thx a lot Ahli,
I already knew about how DCs and hypertriggers work but thanks anyway. I didn't know it was that simple, I previously thought you had to give the unit to a computer player then give it back, etc..
None.
Is there a way of "freezing" an air unit?
eg. corsair or scout?
None.
Constantly order it to the location it is at, or if the map is below 256x256, you can constantly move it to a location outside the map, or if it isn't below 256x256, you can constantly move it to an area that is implacable (a bunch of lifted terran buildings)
None.
How do you place it outside the map? Im using Scm Draft 2.
I have it in the very bottom corner like Ahli said, where theres the little menu thing during the game, isnt that out of the map?
None.
In SCM Draft 2, you can double click the location, then change it's coordinates so it's outside the map.
None.
In SCM Draft 2, you can double click the location, then change it's coordinates so it's outside the map.
ohh i c.
I tryed to hold and drag.
thx
None.

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
do not freeze to many air units at the same time with flying buildings/units
it creates lags....
hypertrigger:
players: computer player who is always in the game
C:
-always
A:
-preserve trigger
-wait(0)
I'm pretty sure that will give you wait blocks wouldn't it?
None.
That's a hypertrigger, although you need more waits than that.
And yes, it will cause wait blocks, but that's how hypertriggers run, they just cause a bunch of really short wait blocks.
None.