• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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