Hi everyone,
Is there any way to hide buttons from the command card without touching to the linked ability ? :/
For exemple, I've 2 buttons linked to the same ability, how can I hide just one of them ?
You can use upgrades to change the Hotkey field of a button. I haven't tested if it works, but if it does, just make an upgrade that changes hotkeys and change it's level with triggers or w/e.
Hum... I don't get it. Can you be more specific ?
How do you change the hotkey field ? By triggers ? If it's possible, upgrades are not required.
If I use upgrades in data editor, I have to clone buttons and that's not good because I have to clone skills.
Took me a while to get this working but it's not really hard.
Open upgrade tab in data editor, and create new upgrade. To effects, link to buttons binds you want to change.
EDIT TEXT KEY, add sth to the end to make new key or you'll overwrite default keybind there. Input new keybind.
You may also want upgrade that will link keybinds back to their default values, but that is up to you (don't change text key then).
In trigger editor, run Tech Tree - Set upgrade level for player, and change keybind upgrade's level you just made to 1 (if you have multiple keybind upgrades set their levels to 0 so you'll be able to swap to them again)
Attaching screen from data editor and map I tested this on (U sets binds to ASDFG, I changes to QWERT)
Didn't knew we could do things like that! That's sounds awesome. Thanks!
You know, there is thousand of people asking and trying to find a solution to change hotkeys layout without cloning spells. I think you should create a topic in tutorial section, it could help everyone who try do things like that.
Edit: Little detail, on trigger editor the "set to level 0" should happen before the "set to level 1", like in your map. It's really important ; otherwise it can't work.
Hi everyone,
Is there any way to hide buttons from the command card without touching to the linked ability ? :/
For exemple, I've 2 buttons linked to the same ability, how can I hide just one of them ?
Run the following Trigger Action:
Action: "Pick Each Player In Player Group"
-Player Goup: All Players
Action: "Allow/Disallow Ability For Player"
Allow: Allow or Disallow
Ability: <specified ability>
Player: Picked Player
EDIT: Curious, why do you need to do this?
That will disallow both of them.
You're right! lol
My bad, a solution to that is create a copy of your abilities, then run that trigger action :P
You seem suprised.
Anyways, he was asking for a solution without duplicating abilities.
@Sntenshi: Probably not possible.
That's what i thought :/
That's totally stupid...
To make several hotkeys layouts ;)
Like we can't associate 2 hotkeys to a button...
If someone got a solution to make that without duplicating abilities, it would be great.
Lol a little bit but not so much, 3 am can play tricks on you :P
@Sntenshi - If I think of anything, I'll let you know
Can't it be done using Catalog?
You can use upgrades to change the Hotkey field of a button. I haven't tested if it works, but if it does, just make an upgrade that changes hotkeys and change it's level with triggers or w/e.
Hum... I don't get it. Can you be more specific ?
How do you change the hotkey field ? By triggers ? If it's possible, upgrades are not required.
If I use upgrades in data editor, I have to clone buttons and that's not good because I have to clone skills.
Took me a while to get this working but it's not really hard.
Attaching screen from data editor and map I tested this on (U sets binds to ASDFG, I changes to QWERT)
Didn't knew we could do things like that! That's sounds awesome. Thanks!
You know, there is thousand of people asking and trying to find a solution to change hotkeys layout without cloning spells. I think you should create a topic in tutorial section, it could help everyone who try do things like that.
Edit: Little detail, on trigger editor the "set to level 0" should happen before the "set to level 1", like in your map. It's really important ; otherwise it can't work.