Ideas of disabling control

Rainther

I guess I should write something of value here...
Reaction score
61
I need ideas on how to fully disable the control of a unit, however that you own it, others can attack and it can attack back.

I do not want to give it to an other player as mentioned, and I'd like a rather nice looking solution, not something simuliar to making a trigger that doesn't allow you to select the unit.
Locust is out of question. :D

So simply: A unit you own, but can't control and behave normal.
 

jwallstone

New Member
Reaction score
33
Give it the Ward classification. That removes the command card (no attack, stop icons etc.). EDIT: I had forgotten that you need to manually prevent orders.

You'll have to trigger it's AI (if you want it to follow the hero or something like that). But basic stuff like attacking nearby enemies it'll do just fine.
 

Vassilev

New Member
Reaction score
39
> Give it the Ward classification. That removes the command card (no attack, stop icons etc.

Exactly what he said and you need these triggers so that players cant cheat by right-clicking their units (They can still select the units and order them around by right-clicking)

Trigger:
  • No Control P1o
    • Events
      • Unit - A unit Is issued an order targeting an object
    • Conditions
      • (Owner of (Ordered unit)) Equal to Player 1 (Red)
    • Actions
      • Unit - Order (Ordered unit) to Attack-Move To (Center of P2 Base <gen>)



Trigger:
  • No Control P1p
    • Events
      • Unit - A unit Is issued an order targeting a point
    • Conditions
      • (Owner of (Ordered unit)) Equal to Player 1 (Red)
    • Actions
      • Trigger - Turn off (This trigger)
      • Unit - Order (Ordered unit) to Attack-Move To (Center of P2 Base <gen>)
      • Trigger - Turn on (This trigger)
 

Rainther

I guess I should write something of value here...
Reaction score
61
I seem to be rather blind today... Where to I add the classification? I haven't managed to find it in the Object Editor... :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top