• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Action: lose control of an unit?

Status
Not open for further replies.
Level 2
Joined
Aug 27, 2015
Messages
15
hi. How could I do if I want , for example, lose control of an unit for 2 seconds? (I mean: it keeps being in your team but you can't control it). Is it possible?
 
Not without drawbacks or flaws.

1. add locust to the unit
2. order unit to stop each time an order is given
3. deselect unit when selcted

None of these are perfect but they work. Unless you can add locust via GetLocalPlayer which I think will desync.

edit: https://www.hiveworkshop.com/forums/spells-569/timed-mind-control-1-06-a-265025/ works fine but the unit is not owned by the same player. Though you can make the color remain so it LOOKS like the unit do.
 
I would prefer giving Locust to the unit rather than those 2 remaining options.

Adding Locust to a unit would simply gives no control at all for the unit (except via triggers, if you can somehow link the player control with the triggers involved).

1) Add Locust
2) Add timer (indexing) to it
3) To remove locust, use Hero Passive Transformation (Bear Form)

I do not have access to a test map, can someone confirm this ?
 
If you are not using all the players for you map, you can change your unit's ownership to a leftover player (make sure he is your ally first), but retain your own colour.

For example, your map is only 4 players, therefore you are not using Brown. You are playing Red. Change your Unit to Brown and make Brown your ally, but retain the Red player colour of your unit. You can't control it whatsoever, but you can still heal it, click on it and treat it as if it is on your team.
 
Status
Not open for further replies.
Back
Top