mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
12 lines
337 B
Plaintext
12 lines
337 B
Plaintext
// by commy2
|
|
|
|
private ["_player", "_ctrlJavelinMode"];
|
|
|
|
_player = _this select 0;
|
|
|
|
disableSerialization;
|
|
_ctrlJavelinMode = (uiNamespace getVariable ["AGM_dlgJavelinOptics", displayNull]) displayCtrl 1006;
|
|
|
|
getNumber (configFile >> "CfgWeapons" >> currentWeapon _player >> "AGM_enableTopDownAttack") == 1
|
|
&& {ctrlShown _ctrlJavelinMode}
|