mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Allowed using the ATrag, Kestrel and Rangecards inside of vehicles.
This commit is contained in:
parent
eb7a38e137
commit
ba15db7d6a
@ -1,7 +1,7 @@
|
|||||||
["ACE3 Equipment", QGVAR(ATragMXDialogKey), localize LSTRING(ATragMXDialogKey),
|
["ACE3 Equipment", QGVAR(ATragMXDialogKey), localize LSTRING(ATragMXDialogKey),
|
||||||
{
|
{
|
||||||
// Conditions: canInteract
|
// Conditions: canInteract
|
||||||
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
if !([ACE_player, objNull, ["notOnMap", "isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||||
if (GVAR(active)) exitWith {
|
if (GVAR(active)) exitWith {
|
||||||
closeDialog 0;
|
closeDialog 0;
|
||||||
false
|
false
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
["ACE3 Equipment", QGVAR(KestrelDialogKey), localize LSTRING(KestrelDialogKey),
|
["ACE3 Equipment", QGVAR(KestrelDialogKey), localize LSTRING(KestrelDialogKey),
|
||||||
{
|
{
|
||||||
// Conditions: canInteract
|
// Conditions: canInteract
|
||||||
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
if !([ACE_player, objNull, ["notOnMap", "isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||||
if (GVAR(Kestrel4500)) exitWith {
|
if (GVAR(Kestrel4500)) exitWith {
|
||||||
closeDialog 0;
|
closeDialog 0;
|
||||||
false
|
false
|
||||||
@ -16,7 +16,7 @@
|
|||||||
["ACE3 Equipment", QGVAR(DisplayKestrelKey), localize LSTRING(DisplayKestrelKey),
|
["ACE3 Equipment", QGVAR(DisplayKestrelKey), localize LSTRING(DisplayKestrelKey),
|
||||||
{
|
{
|
||||||
// Conditions: canInteract
|
// Conditions: canInteract
|
||||||
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
if !([ACE_player, objNull, ["notOnMap", "isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||||
|
|
||||||
// Statement
|
// Statement
|
||||||
[] call FUNC(displayKestrel);
|
[] call FUNC(displayKestrel);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
["ACE3 Equipment", QGVAR(RangeCardDialogKey), localize "STR_ACE_RangeCard_RangeCardDialogKey",
|
["ACE3 Equipment", QGVAR(RangeCardDialogKey), localize "STR_ACE_RangeCard_RangeCardDialogKey",
|
||||||
{
|
{
|
||||||
// Conditions: canInteract, canShow
|
// Conditions: canInteract, canShow
|
||||||
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
if !([ACE_player, objNull, ["notOnMap", "isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||||
if (GVAR(RangeCardOpened)) exitWith {
|
if (GVAR(RangeCardOpened)) exitWith {
|
||||||
closeDialog 0;
|
closeDialog 0;
|
||||||
false
|
false
|
||||||
@ -17,7 +17,7 @@
|
|||||||
["ACE3 Equipment", QGVAR(RangeCardCopyDialogKey), localize "STR_ACE_RangeCard_RangeCardCopyDialogKey",
|
["ACE3 Equipment", QGVAR(RangeCardCopyDialogKey), localize "STR_ACE_RangeCard_RangeCardCopyDialogKey",
|
||||||
{
|
{
|
||||||
// Conditions: canInteract, canShowCopy
|
// Conditions: canInteract, canShowCopy
|
||||||
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
if !([ACE_player, objNull, ["notOnMap", "isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||||
if (GVAR(RangeCardOpened)) exitWith {
|
if (GVAR(RangeCardOpened)) exitWith {
|
||||||
closeDialog 0;
|
closeDialog 0;
|
||||||
false
|
false
|
||||||
|
Loading…
Reference in New Issue
Block a user