mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
interaction: removed debug info
This commit is contained in:
parent
fc7f778d3e
commit
f3dac73fa2
@ -19,13 +19,11 @@ GVAR(isOpeningDoor) = false;
|
|||||||
["ACE3",
|
["ACE3",
|
||||||
localize "STR_ACE_Interaction_InteractionMenu",
|
localize "STR_ACE_Interaction_InteractionMenu",
|
||||||
{
|
{
|
||||||
systemChat "interactionMenuDown";
|
|
||||||
// Conditions: canInteract
|
// Conditions: canInteract
|
||||||
_exceptions = ["ACE_Drag_isNotDragging", "ACE_Medical_canTreat", "ACE_Interaction_isNotEscorting", "ACE_Interaction_isNotSwimming"];
|
_exceptions = ["ACE_Drag_isNotDragging", "ACE_Medical_canTreat", "ACE_Interaction_isNotEscorting", "ACE_Interaction_isNotSwimming"];
|
||||||
if !(_exceptions call EGVAR(common,canInteract)) exitWith {false};
|
if !(_exceptions call EGVAR(common,canInteract)) exitWith {false};
|
||||||
// Conditions: specific
|
// Conditions: specific
|
||||||
if !(isNull (findDisplay 1713999)) exitWith {false};
|
if !(isNull (findDisplay 1713999)) exitWith {false};
|
||||||
systemChat "interactionMenuDown Statement";
|
|
||||||
|
|
||||||
// Statement
|
// Statement
|
||||||
call FUNC(onButtonDown);
|
call FUNC(onButtonDown);
|
||||||
@ -39,13 +37,11 @@ GVAR(isOpeningDoor) = false;
|
|||||||
["ACE3",
|
["ACE3",
|
||||||
localize "STR_ACE_Interaction_InteractionMenu",
|
localize "STR_ACE_Interaction_InteractionMenu",
|
||||||
{
|
{
|
||||||
systemChat "interactionMenu Up";
|
|
||||||
// Conditions: canInteract
|
// Conditions: canInteract
|
||||||
_exceptions = ["ACE_Drag_isNotDragging", "ACE_Medical_canTreat", "ACE_Interaction_isNotEscorting", "ACE_Interaction_isNotSwimming"];
|
_exceptions = ["ACE_Drag_isNotDragging", "ACE_Medical_canTreat", "ACE_Interaction_isNotEscorting", "ACE_Interaction_isNotSwimming"];
|
||||||
if !(_exceptions call EGVAR(common,canInteract)) exitWith {false};
|
if !(_exceptions call EGVAR(common,canInteract)) exitWith {false};
|
||||||
// Conditions: specific
|
// Conditions: specific
|
||||||
if !(!isNull (findDisplay 1713999) && {profileNamespace getVariable [QGVAR(AutoCloseMenu), 0] > 0}) exitWith {false};
|
if !(!isNull (findDisplay 1713999) && {profileNamespace getVariable [QGVAR(AutoCloseMenu), 0] > 0}) exitWith {false};
|
||||||
systemChat "interactionMenu Up Statement";
|
|
||||||
|
|
||||||
// Statement
|
// Statement
|
||||||
if (GVAR(MenuType) mod 2 == 0) then {call FUNC(onButtonUp)};
|
if (GVAR(MenuType) mod 2 == 0) then {call FUNC(onButtonUp)};
|
||||||
@ -59,13 +55,12 @@ GVAR(isOpeningDoor) = false;
|
|||||||
["ACE3",
|
["ACE3",
|
||||||
localize "STR_ACE_Interaction_InteractionMenuSelf",
|
localize "STR_ACE_Interaction_InteractionMenuSelf",
|
||||||
{
|
{
|
||||||
systemChat "interactionMenuSelf Down";
|
|
||||||
// Conditions: canInteract
|
// Conditions: canInteract
|
||||||
_exceptions = ["ACE_Drag_isNotDragging", "ACE_Medical_canTreat", "ACE_Interaction_isNotEscorting", "ACE_Interaction_isNotSwimming", "ACE_Common_notOnMap"];
|
_exceptions = ["ACE_Drag_isNotDragging", "ACE_Medical_canTreat", "ACE_Interaction_isNotEscorting", "ACE_Interaction_isNotSwimming", "ACE_Common_notOnMap"];
|
||||||
if !(_exceptions call EGVAR(common,canInteract)) exitWith {false};
|
if !(_exceptions call EGVAR(common,canInteract)) exitWith {false};
|
||||||
// Conditions: specific
|
// Conditions: specific
|
||||||
if !(isNull (findDisplay 1713999)) exitWith {false};
|
if !(isNull (findDisplay 1713999)) exitWith {false};
|
||||||
systemChat "interactionMenuSelf Down Statement";
|
|
||||||
// Statement
|
// Statement
|
||||||
call FUNC(onButtonDownSelf);
|
call FUNC(onButtonDownSelf);
|
||||||
true
|
true
|
||||||
@ -78,13 +73,11 @@ GVAR(isOpeningDoor) = false;
|
|||||||
["ACE3",
|
["ACE3",
|
||||||
localize "STR_ACE_Interaction_InteractionMenuSelf",
|
localize "STR_ACE_Interaction_InteractionMenuSelf",
|
||||||
{
|
{
|
||||||
systemChat "interactionMenuSelf Up";
|
|
||||||
// Conditions: canInteract
|
// Conditions: canInteract
|
||||||
_exceptions = ["ACE_Drag_isNotDragging", "ACE_Medical_canTreat", "ACE_Interaction_isNotEscorting", "ACE_Interaction_isNotSwimming"];
|
_exceptions = ["ACE_Drag_isNotDragging", "ACE_Medical_canTreat", "ACE_Interaction_isNotEscorting", "ACE_Interaction_isNotSwimming"];
|
||||||
if !(_exceptions call EGVAR(common,canInteract)) exitWith {false};
|
if !(_exceptions call EGVAR(common,canInteract)) exitWith {false};
|
||||||
// Conditions: specific
|
// Conditions: specific
|
||||||
if !(!isNull (findDisplay 1713999) && {profileNamespace getVariable [QGVAR(AutoCloseMenu), 0] > 0}) exitWith {false};
|
if !(!isNull (findDisplay 1713999) && {profileNamespace getVariable [QGVAR(AutoCloseMenu), 0] > 0}) exitWith {false};
|
||||||
systemChat "interactionMenuSelf Up Statement";
|
|
||||||
|
|
||||||
// Statement
|
// Statement
|
||||||
if (GVAR(MenuType) mod 2 == 1) then {call FUNC(onButtonUp)};
|
if (GVAR(MenuType) mod 2 == 1) then {call FUNC(onButtonUp)};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user