So I have two buttons on a command card. They both aren't connected to any active abilities. When I hold down the hotkey for one, it flashes and triggers the button for as long as I hold the hotkey down. However, when I use the other button's hotkey while still holding down the first button's hotkey, the first one will stop being triggered and only the second one will be triggered.
What I want is for them both to be triggered independently of each other (ie, one will always be triggered regardless of the other being held down or not.)
If I'm not mistaken, I've seen this done before and I'm assuming that it's a simple flag or setting in the button/ability.
I'm guessing this is done by disabling each activated ability's button for like 0.0625 seconds so the other one can trigger too. You can do this with a behavior by going Modification+ -> Ability -> Disabled Abilities.
I tried something similar with triggers, disabled the ability once used but it didn't work. It seems as though the last hotkey pressed is saved per player since holding the hotkey down before selecting a unit will still trigger the ability. I think that I was mistaken in what I saw in the map that I saw this in, it was probably just key pressed events or something.
So I have two buttons on a command card. They both aren't connected to any active abilities. When I hold down the hotkey for one, it flashes and triggers the button for as long as I hold the hotkey down. However, when I use the other button's hotkey while still holding down the first button's hotkey, the first one will stop being triggered and only the second one will be triggered.
What I want is for them both to be triggered independently of each other (ie, one will always be triggered regardless of the other being held down or not.)
If I'm not mistaken, I've seen this done before and I'm assuming that it's a simple flag or setting in the button/ability.
Thanks!
I'm guessing this is done by disabling each activated ability's button for like 0.0625 seconds so the other one can trigger too. You can do this with a behavior by going Modification+ -> Ability -> Disabled Abilities.
Like the same as mine?
@zorbotron: Go
I tried something similar with triggers, disabled the ability once used but it didn't work. It seems as though the last hotkey pressed is saved per player since holding the hotkey down before selecting a unit will still trigger the ability. I think that I was mistaken in what I saw in the map that I saw this in, it was probably just key pressed events or something.
@Mugen245: Go
You make no sense/contribute nothing as always =/