simple Hero Icon question

Nexor

...
Reaction score
74
Let's say I hide my Hero so it will be out of game for some time. How can I detect if a player clicks on it's icon or presses F1 ?
(A dummy unit is on the map, I want to select the dummy on detecting)
 

Nexor

...
Reaction score
74
The unit selection event isn't working.
I use the ShowUnit() function to hide the Hero and when I click on it's icon, there is no selected unit :S
 

Nexor

...
Reaction score
74
I know it's not 24 hours but I've found out that the basic selec unit event isn't working. I need another solution.
 

Naga'sShadow

Ultra Cool Member
Reaction score
49
Create a second hero and superimpose that one over the dummy. That way F1 will center on your dummy. Have the player de-select the dummy hero and select the other unit whenever they select the dummy hero.
 

Nexor

...
Reaction score
74
Ah it's too complicated, I just discard this option then. I think there's no easy way to make this. But it's not a problem :)
Thanks anyways!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top