[JASS] Unselectable

Status
Not open for further replies.
Level 3
Joined
May 2, 2008
Messages
41
Hello
How do I make units unselectable, but still attackable(with a trigger), and while they still keep their collision thingy(so they can't walk through trees and buildings)?
 
Anyone else?

What do you want to do ? Telling a hint about what you need may help.

You want the unit to be unselectable but can be attacked, how could you attack something that can't be selected ?

<< ADDED >>

You may make the selection scale small but at the same time make a trigger that unselects a unit once it is selected.

The short and the simplest trigger
  • Unselectable
    • Events
      • Player - Player 1 (Red) Selects a unit
    • Conditions
      • (Owner of (Triggering unit)) Not equal to Player 1 (Red)
    • Actions
      • Selection - Clear selection for Player 1 (Red)
 
Status
Not open for further replies.
Back
Top