mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Interact Menu - Add doNotCheckLOS option for config actions (#9054)
This commit is contained in:
parent
95a5fb040a
commit
0e868dc26f
@ -91,6 +91,7 @@ private _recurseFnc = {
|
|||||||
} else {
|
} else {
|
||||||
_runOnHover = (getNumber (_entryCfg >> "runOnHover")) > 0;
|
_runOnHover = (getNumber (_entryCfg >> "runOnHover")) > 0;
|
||||||
};
|
};
|
||||||
|
private _doNotCheckLOS = getNumber (_entryCfg >> "doNotCheckLOS") > 0;
|
||||||
|
|
||||||
_condition = compile _condition;
|
_condition = compile _condition;
|
||||||
private _children = [_entryCfg, _distance] call _recurseFnc;
|
private _children = [_entryCfg, _distance] call _recurseFnc;
|
||||||
@ -106,7 +107,7 @@ private _recurseFnc = {
|
|||||||
[],
|
[],
|
||||||
_position,
|
_position,
|
||||||
_distance,
|
_distance,
|
||||||
[_showDisabled,_enableInside,_canCollapse,_runOnHover, false],
|
[_showDisabled, _enableInside, _canCollapse, _runOnHover, _doNotCheckLOS],
|
||||||
_modifierFunction
|
_modifierFunction
|
||||||
],
|
],
|
||||||
_children
|
_children
|
||||||
|
Loading…
Reference in New Issue
Block a user