ATragMX/Kestrel 4500 dialogs can be toggled on/off with keybinds.

This commit is contained in:
ulteq 2015-05-17 11:23:31 +02:00
parent e0f9d3f6e1
commit ea32aa0265
2 changed files with 8 additions and 3 deletions

View File

@ -2,7 +2,10 @@
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
if (GVAR(active)) exitWith {false};
if (GVAR(active)) exitWith {
closeDialog 0;
false
};
// Statement
[] call FUNC(create_dialog);
false

View File

@ -2,8 +2,10 @@
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
if(GVAR(Kestrel4500)) exitWith { false };
if (GVAR(Kestrel4500)) exitWith {
closeDialog 0;
false
};
// Statement
[] call FUNC(createKestrelDialog);
false