Or a way to set hotkeys for their inventory? Cause inventory hotkeys are by default on the Numpad1-9 and that's just impossible to reach. If we could set them to certain buttons we could make a better layout for our game.
Of course if the item you want to use is instant like the marines stim pack or whatever, then you wont need a second trigger to select a target.
Second way would be to simply give the ability you want the unit to cast to the actual unit holding the item through the "equip" option of items, then set a button with a hotkey and allow the unit to cast the ability itself as though it had it. But that's not really a trigger solution.
There might be other ways, but those are the two I can think of.
The 2nd solution is what we had in the game before, but we didn't like it. Inventory slot hotkeys can be customized by the players, that's why we like doing it this way - it just would be better if we could set them to a better default for everyone, as then we could change hotkeys on all our buttons to fit this default.
We might do this anyway and advertise the default setting on our forums, but it's not as elegant.
Yah, unfortunately I don't think there is any trigger way to change inventory hotkeys. And I would have no idea where to find the defaults in the data editor... if it's even there.
I recently had quite the difficult time adjusting the physics and gravity of a map. I wanted to add a more interesting way to deflect projectiles. Come to find out every mover has it's own setting for how much gravity effects it and it's basically impossible to change it on the fly.
Maybe someone else will be able to help ya. Anyhow, best of luck.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is there a way to overwrite hotkeys for players?
Or a way to set hotkeys for their inventory? Cause inventory hotkeys are by default on the Numpad1-9 and that's just impossible to reach. If we could set them to certain buttons we could make a better layout for our game.
Only ways that I personally know to get that effect is to bypass it entirely. First way I know of is to use something like this...
Of course if the item you want to use is instant like the marines stim pack or whatever, then you wont need a second trigger to select a target.
Second way would be to simply give the ability you want the unit to cast to the actual unit holding the item through the "equip" option of items, then set a button with a hotkey and allow the unit to cast the ability itself as though it had it. But that's not really a trigger solution.
There might be other ways, but those are the two I can think of.
The 2nd solution is what we had in the game before, but we didn't like it. Inventory slot hotkeys can be customized by the players, that's why we like doing it this way - it just would be better if we could set them to a better default for everyone, as then we could change hotkeys on all our buttons to fit this default.
We might do this anyway and advertise the default setting on our forums, but it's not as elegant.
Yah, unfortunately I don't think there is any trigger way to change inventory hotkeys. And I would have no idea where to find the defaults in the data editor... if it's even there. I recently had quite the difficult time adjusting the physics and gravity of a map. I wanted to add a more interesting way to deflect projectiles. Come to find out every mover has it's own setting for how much gravity effects it and it's basically impossible to change it on the fly.
Maybe someone else will be able to help ya. Anyhow, best of luck.