Observer selection event

Status
Not open for further replies.
Level 7
Joined
May 30, 2013
Messages
210
Hello dears,

As you might know, there is a gui event that`ll make a trigger fire when a player selects an unit; like this

  • Events
    • Player - Player 1 (Red) Selects a unit
the thing that`s keeping me up now, is; this doesn`t work for observer players. (observers selecting stuff don`t fire the trigger)

I`ve already tried googling around, but didn`t find anything useful, so I figured to ask here for some enlightenment

<3, Sela
 
Hi,
I know this is a necro thread, but I tried searching the Hive for "Observer selection" and this is the only thing that shows up.

Through a bit of a trial, I found that these can be selected by checking the (integer of the) team: for observer and referees, it is -1. Normal teams are what they are, starting 0 (i.e. lobby team minus 1).

This helped me a lot in my mod just now, so hoping someone else will find it useful too :)
 
Status
Not open for further replies.
Back
Top