I placed about 60 Spine&Spore Crawler for Player 4 (computer AI) for defense, and i don't want them to move any where. how to set these Crawlers uncommandable by player 4, but still belong to player 4 and do the defense? i just don't want the AI move them.
You can also do it through triggers. Pick every unit in entire map, check if the unit type of unit is a spore or spine, and check if the unit belongs to player 4. then action Unit - Make (Picked Unit) Uncommandable.
Trigger: Unit Set State (((Picked Unit), Moveable), False) would be the best option that way this will make it so the unit doesnt move even to chase something which uncommandable units still chase units that run.
Data: Just like Jaxter said remove the move ability from the unit. though this will cause problems if you want ones that can move ( for say another player or something).
do uhm...
pick each spore crawler and do:
-Enable Script control for (picked unit)
then the same for spine crawlers ----
but, the AI will only move the spine/spore crawlers if there is no creep under them... If you don't want preplaced s crawlers to move just put a creep tumor near them (or permanent creep).
I placed about 60 Spine&Spore Crawler for Player 4 (computer AI) for defense, and i don't want them to move any where. how to set these Crawlers uncommandable by player 4, but still belong to player 4 and do the defense? i just don't want the AI move them.
You could just take off the ability that allows them to move...
You can also do it through triggers. Pick every unit in entire map, check if the unit type of unit is a spore or spine, and check if the unit belongs to player 4. then action Unit - Make (Picked Unit) Uncommandable.
Trigger: Unit Set State (((Picked Unit), Moveable), False) would be the best option that way this will make it so the unit doesnt move even to chase something which uncommandable units still chase units that run.
Data: Just like Jaxter said remove the move ability from the unit. though this will cause problems if you want ones that can move ( for say another player or something).
noooooooooooooooooooooooooooo
use the AI triggers :D
do uhm...
pick each spore crawler and do:
-Enable Script control for (picked unit)
then the same for spine crawlers
----but, the AI will only move the spine/spore crawlers if there is no creep under them... If you don't want preplaced s crawlers to move just put a creep tumor near them (or permanent creep).