Why does this SUPER simple trigger not work?

BlowingKush

I hit the blunt but the blunt hit me.
Reaction score
188
Events
Unit Selection - Any Unit is Highlighted by Player Any Player

Local Variables

Conditions

Actions
Unit - Kill (Triggering unit)
 

Siretu

Starcraft 2 Editor Moderator
Reaction score
293
I think it might be because "Unit Selection - Any Unit is Highlighted by Player Any Player" got no triggering unit. Just a triggering player. Check if there's some event response like: "Selected unit".

There's also a unit group function that returns the unit group of units selected by a player. You could try that as well.
 

Rusty

New Member
Reaction score
5
triggering unit is probably not a valid function for - Unit is highlighted

if you're getting red text when you test this trigger in game, thats the cause


if it simply does nothing, it could be related to the "unit is highlighted" part. for that, im talking about the editor's definition of "highlighted", is it selected/group selected/editor function?
 

Arkless

New Member
Reaction score
31
Highlighted means when you move your mouse over it (afaik). I believe (but am not 100% sure :D) that you have to clear the flag "cannot be highlighted" in the unit flags for that to work.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top