I'm making a map where you control 1 hero unit for the whole game. I'd like to make it so the selection is locked to that unit so you can click all over the map and not have to worry about losing your spell hot keys b/c you deselected your hero.
I'm at work and not looking at the editor right now so I wanted to get a few ideas before I tried to tackle this myself.
One of the biggest issues I see with this is that if you can't select other units you won't be able to see info about them like their equipped weapon or life/shields. Much of this could be solved by a custom UI but I'd like to avoid that for the time being if possible.
One thing I decided to do for this was create two different "modes." The first mode is normal, where the player can select off of their unit and look at other units and stuff, the second is aggressive, which keeps the hero selected. When the hero unit uses an ability called "arm weapons" it switches to aggressive mode. "Disarm weapons" switches back.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm making a map where you control 1 hero unit for the whole game. I'd like to make it so the selection is locked to that unit so you can click all over the map and not have to worry about losing your spell hot keys b/c you deselected your hero.
I'm at work and not looking at the editor right now so I wanted to get a few ideas before I tried to tackle this myself.
One of the biggest issues I see with this is that if you can't select other units you won't be able to see info about them like their equipped weapon or life/shields. Much of this could be solved by a custom UI but I'd like to avoid that for the time being if possible.
One thing I decided to do for this was create two different "modes." The first mode is normal, where the player can select off of their unit and look at other units and stuff, the second is aggressive, which keeps the hero selected. When the hero unit uses an ability called "arm weapons" it switches to aggressive mode. "Disarm weapons" switches back.