• 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.

[Trigger] How to make X kind of unit unselect avaible

Status
Not open for further replies.
Level 7
Joined
May 6, 2008
Messages
284
How to make X kind of unit unselect avaible
ye i would need just pretty simple trigger for it i tried myself to make one but i epicly faild
 
Level 6
Joined
Jul 25, 2005
Messages
221
A simple way to make a unit unselectable is to do it through JASS, where you add the locust ability, don't know if you can do that in GUI (not including default abilites to a unit). Anyway, you could make a trigger that unselects the unit (or units) as soon as they are selected.

  • Unselector
    • Events
      • Player - Player 1 (Red) Selects a unit
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Footman
    • Actions
      • Selection - Clear selection for Player 1 (Red)
 
Level 7
Joined
May 6, 2008
Messages
284
i dont know how to use GUI i dont know what it stands for
i only need this because example peon is three now :) model filed it
 
Level 12
Joined
Jul 27, 2008
Messages
1,181
Try:
  • Trigger
  • Events
    • Player - Player 1 (Red) Selects a Unit
    • Player - Player 2 (Blue) Selects a Unit
    • Player - Player 3 (Teal) Selects a Unit
    • ...etc
  • Conditions
    • Unit-Type of (Triggering Unit) Equal to UNIT
  • Actions
    • Player - Clear Selection for (Triggering Player)
 
Status
Not open for further replies.
Top