View Single Post
01/09/17, 02:54 AM   #4
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Originally Posted by dorrino View Post
Hm, but we already have multiple different action bound to the same key as long as they are in the different contexts (General and Notifications, as an example).

What i don't understand is how the action layer becomes active? What happens if both General and Notifcation layers are active at the same time? Or there're some limitations (to prevent automation) and you can't make 2 layers with the same keybind active at the same time?
As an author you specify the layer for a keybind in your Binding.xml.
There you can say allowFallthrough="false/true":
...
<Layer name="SI_KEYBINDINGS_LAYER_SIEGE" allowFallthrough="false">
...
If you push/active a layer, it either replaces the keybinding or the Keybind-Dialog would say "Hey, you are replacing the key assigned to action XYZ".
So, you can assign a key to two layers, if the keybinds are not both active at the same time.
  Reply With Quote