[Trigger] Giving unit uner comp control?

Status
Not open for further replies.
Level 8
Joined
Sep 24, 2007
Messages
300
Is there an action to give a unit under computer control, but unit is still owned by the same player?

I basicaly need an uncontrollable unit. Right now, I am using Locust ability, that makes unit unselectable. This works ok, but unit cannot be attacked. So I though about giving the unit under comp control. It would still be attackable and at the same time it would be owned by the same player, this means, it will give bounty to that player.


Or, is there another way?
 
Level 11
Joined
Nov 15, 2007
Messages
800
  • trigger
    • Events
      • Player - Player 1 (Red) Selects a unit
    • Conditions
      • ((Triggering unit) is in unselectable) Equal to True
    • Actions
      • Selection - Remove (Triggering unit) from selection for (Owner of (Triggering unit))
Add units to the unselectable unit groups to make them unselectable. It'll still select units for long enough to issue an order, though, but there's ways around this depending on what you need the computer controlled units to do. If you give a few more details I could probably help.

Alternatively you could give the units to a computer player and trigger the bounty.
 
Status
Not open for further replies.
Top