Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Have a nice day and thanks for your attention
Hello. Sorry but i have not been active in arma community for years. Feel free to use this as you want.
I would like to make a request... I have been making a wheel addon using as base and required addon this one. It is a wheel that couples the ACE hand signals and the SOG Prairie Fire CDLC hand signals. It works perfectly, I'm very happy with the result, but I'm missing to be able to configure through the CBA Settings the key, button or macro I want (I've done it manually by modifying the code)... I've tried to do it myself, but I always end up breaking the code, I don't have that much knowledge. Do you see feasible to help with that or update it with that function?
THANK YOU!!!
I don´t think so. You have to try.
If you use "OptionWheel_fnc_setWheelKey" to change the key, replace "0x21" in the "OptionWheel_fnc_buttonDown" to the one you want to use.
Bellow is an example you can use.
You have to do your own research on keys but you can find all on the wiki.
Hope it helps.
animationListActivated = false;
(findDisplay 46) displayAddEventHandler ["KeyDown", {
params ["_displayorcontrol", "_key", "_shift", "_ctrl", "_alt"];
if!(animationListActivated)then{
//Key 1
if(_key isEqualTo 0x02)then{
[[["KEY 1","1"],[" 1","1"]],{hint str _this;},0.3,0.15] call OptionWheel_fnc_setWheel;
[_displayorcontrol, 0x21, _shift, _ctrl, _alt] call OptionWheel_fnc_buttonDown;
};
//Key 2
if(_key isEqualTo 0x03)then{
[[["KEY 2","2"],[" 2","2"]],{hint str _this;},0.3,0.15] call OptionWheel_fnc_setWheel;
[_displayorcontrol, 0x21, _shift, _ctrl, _alt] call OptionWheel_fnc_buttonDown;
};
};
}];
params ["_displayorcontrol", "_key", "_shift", "_ctrl", "_alt"];
//Key 1
if(_key isEqualTo 0x02)then{
[_displayorcontrol, 0x21, _shift, _ctrl, _alt] call OptionWheel_fnc_buttonUp;
};
//Key 2
if(_key isEqualTo 0x03)then{
[_displayorcontrol, 0x21, _shift, _ctrl, _alt] call OptionWheel_fnc_buttonUp;
};
}];