ExAd/mpmissions/Exile.Altis/config.cpp
2016-05-03 01:21:03 +02:00

44 lines
1.0 KiB
C++

class CfgExileCustomCode
{
ExileServer_system_territory_database_load = "ExAdClient\VirtualGarage\CustomCode\ExileServer_system_territory_database_load.sqf";
};
class CfgInteractionMenus
{
class Flag
{
targetType = 2;
target = "Exile_Construction_Flag_Static";
class Actions
{
class VG : ExileAbstractAction
{
title = "Virtual Garage";
condition = "(([_object, getPlayerUID player] call ExileClient_util_territory_getAccessLevel) select 0) >= ExAd_VG_ACCESS_LEVEL";
action = "call XM8_VG_checkNearByFlags";
};
};
};
class Construction
{
targetType = 2;
target = "Exile_Construction_Abstract_Static";
class Actions
{
class Grind : ExileAbstractAction
{
title = "Grind Lock";
condition = "call ExAd_fnc_canGrindLock";
action = "_this spawn ExAd_fnc_grindLock";
};
class RestoreLock : ExileAbstractAction
{
title = "Restore Lock";
condition = "_object call ExAd_fnc_canRestoreLock";
action = "_this spawn ExAd_fnc_restoreLock";
};
};
};
};