hey there,
how can I detect when the hero UI button is clicked? (I mean the image of the hero on the top left of the screen)
I have a hero who I hid, but I want to trigger certain actions when it's button is clicked. somehow BC the hero is hidden - basing stuff off of when the unit is selected doesn't work.
would appreciate any help, thanks!
how can I detect when the hero UI button is clicked? (I mean the image of the hero on the top left of the screen)
I have a hero who I hid, but I want to trigger certain actions when it's button is clicked. somehow BC the hero is hidden - basing stuff off of when the unit is selected doesn't work.
this is how I tried to do it according to hero selection - and nada...
-
profile selection
-
Events
-
Player - Player 1 (Red) Selects a unit
-
Player - Player 2 (Blue) Selects a unit
-
Player - Player 3 (Teal) Selects a unit
-
Player - Player 4 (Purple) Selects a unit
-
Player - Player 5 (Yellow) Selects a unit
-
Player - Player 6 (Orange) Selects a unit
-
Player - Player 7 (Green) Selects a unit
-
Player - Player 8 (Pink) Selects a unit
-
Player - Player 9 (Gray) Selects a unit
-
Player - Player 10 (Light Blue) Selects a unit
-
Player - Player 11 (Dark Green) Selects a unit
-
Player - Player 12 (Brown) Selects a unit
-
-
Conditions
-
((Triggering unit) is in ProfileHero) Equal to True
-
(Triggering player) Equal to (Owner of (Triggering unit))
-
-
Actions
-
Game - Display to (All players) for 5.00 seconds the text: hero selected
-
Set ID = (Custom value of (Triggering unit))
-
Selection - Select FakeCritter[ID] for (Triggering player)
-
-
would appreciate any help, thanks!