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 { } 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