Search the Community
Showing results for tags 'keybinding'.
Found 2 results
-
Hello everyone, lately, I have been looking for ways to improve quality of life as a long time Zeus mission maker. Is there a way to switch SIDE on All players currently in session with the press of a button. One button for each side or, better yet, make it toggle between two sides such as West and Civilian on the press of a button? This would be very convenient for me, as I would otherwise have to be quick on my feet at times, constantly bringing up modules back and forth in order to change it and I am quite busy as is during the sessions. Any pointer or tip is very appreciated.
- 2 replies
-
- keybinding
- faction
-
(and 3 more)
Tagged with:
-
I'm looking to remove the keybinding of Zeus in game from the Y key. I'm looking to move the key to another spot, but I need to remove it first. Does anyone know what the variable name is in the eventhandler? This is what I have so far. Unless someone knows another way. Thanks for any assistance _display = (findDisplay 46); _varName = "NAMEOFVARIABLENEEDED"; // Exit in case event is already registered if (!isNil { missionNamespace getVariable _varName }) then { private ["_index", "_down", "_up"]; _index = missionNamespace getVariable _varName; _down = _index select 0; _up = _index select 1; // Reset event handlers _display displayRemoveEventHandler ["KeyDown", _down]; _display displayRemoveEventHandler ["KeyUp", _up]; missionNamespace setVariable [_varName, nil]; };