• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Need to make units uncontrolable

Status
Not open for further replies.
Level 1
Joined
Oct 28, 2004
Messages
1
I have been trying to find a way to make units uncontrolable through triggers. In my map I want you to be able to convert a unit to Militia, So that it takes no supply, and you lose control of it, but it still protects a building. I tried using a trigger to Add locust, But I found that I can't add the ability in the trigger editor. Any help/ideas would be appreciated. Thanks
 
Level 3
Joined
Jul 5, 2004
Messages
38
i dont understand exactly what you mea, but i presume you want units to guard a building and those units, cannot be selected and be placed anywhere else??

you could make it so that you transfer control to a computer player, and keep em in a area by:

events: unit leaves region XXX
condition: unittype equal to XXX
actions: order triggering unit/ leaving unit to move to region XXX

where regionXXX is the same region in events and actions...


dunno if this would help? if not plz explain more detailed.

Edit: should be typing faster, angelusz beat me to it :cry:
 
Status
Not open for further replies.
Top