Interact Menu - Add doNotCheckLOS option for config actions (#9054)

This commit is contained in:
mharis001 2022-10-21 20:28:51 -04:00 committed by GitHub
parent 95a5fb040a
commit 0e868dc26f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,6 +91,7 @@ private _recurseFnc = {
} else {
_runOnHover = (getNumber (_entryCfg >> "runOnHover")) > 0;
};
private _doNotCheckLOS = getNumber (_entryCfg >> "doNotCheckLOS") > 0;
_condition = compile _condition;
private _children = [_entryCfg, _distance] call _recurseFnc;
@ -106,7 +107,7 @@ private _recurseFnc = {
[],
_position,
_distance,
[_showDisabled,_enableInside,_canCollapse,_runOnHover, false],
[_showDisabled, _enableInside, _canCollapse, _runOnHover, _doNotCheckLOS],
_modifierFunction
],
_children