Hi there. A bit of background 1st. I'm developing a map's UI not unlike a WOW style party UI, where there's a list of party member's character icons displaying their health bars/mana, etc.
Am looking for a way to connect a button to a unit...what I mean is, if I click on the unit, the game selects the unit for the player. Of course this can be done using the trigger GUI. What I want is to go beyond that, so if I use attack on the button, or use heal on that button, the attack or heal is directed to the associated unit. Anyone have any ideas how to do this?
Also, the unit info panel at the bottom of a screen only works for the unit being selected. Is there a way to permanently display a specific unit for this panel?
In the Zeratul campaign mission. On the right side of the screen, there were hero icons where if you click them, you automatically select them as well. That's what I'm looking for but I'm stumped on where to enable that.
I'm not sure if this is what you want but if you go into the unit and under attributes and flags check the Heroic and Hero boxes you will be given that little box you talked about.
Ok I got that part. My map was hiding the hero panel that's why.
The thing is...if I want to use any ability/action on that hero icon, it doesn't work...please, anyone know how to solve this problem? Will be appreciate it.
Also I wonder if it's possible to include all hero icons of all players in the game...
I think you should search the site for 'mouse detection' and then create a dialog window with a picture of the unit you want to heal or what not and through a mouse detection trigger, detect whether you are hovering over the specific unit. Some shooter maps use mouse detecting to see in what direction to shoot for example, I think you can apply the same things to this mechanic you want to create.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi there. A bit of background 1st. I'm developing a map's UI not unlike a WOW style party UI, where there's a list of party member's character icons displaying their health bars/mana, etc.
Am looking for a way to connect a button to a unit...what I mean is, if I click on the unit, the game selects the unit for the player. Of course this can be done using the trigger GUI. What I want is to go beyond that, so if I use attack on the button, or use heal on that button, the attack or heal is directed to the associated unit. Anyone have any ideas how to do this?
Also, the unit info panel at the bottom of a screen only works for the unit being selected. Is there a way to permanently display a specific unit for this panel?
In the Zeratul campaign mission. On the right side of the screen, there were hero icons where if you click them, you automatically select them as well. That's what I'm looking for but I'm stumped on where to enable that.
@EarendilSphere: Go
I'm not sure if this is what you want but if you go into the unit and under attributes and flags check the Heroic and Hero boxes you will be given that little box you talked about.
@jrb7k: Go
Enabling those attri and flags didn't do trick. Wonder what we're missing...
@jrb7k: Go
Ok I got that part. My map was hiding the hero panel that's why.
The thing is...if I want to use any ability/action on that hero icon, it doesn't work...please, anyone know how to solve this problem? Will be appreciate it.
Also I wonder if it's possible to include all hero icons of all players in the game...
Bump.
bump again
I think you should search the site for 'mouse detection' and then create a dialog window with a picture of the unit you want to heal or what not and through a mouse detection trigger, detect whether you are hovering over the specific unit. Some shooter maps use mouse detecting to see in what direction to shoot for example, I think you can apply the same things to this mechanic you want to create.