ACE3/addons/interaction/config.cpp

57 lines
1.3 KiB
C++
Raw Normal View History

#include "script_component.hpp"
2015-01-11 19:32:51 +00:00
class CfgPatches {
class ADDON {
2015-01-11 19:32:51 +00:00
units[] = {};
weapons[] = {};
2015-01-18 07:32:07 +00:00
requiredVersion = REQUIRED_VERSION;
2015-01-13 05:14:27 +00:00
requiredAddons[] = {"ace_common"};
2015-01-11 19:32:51 +00:00
author[] = {"commy2", "KoffeinFlummi", "CAA-Picard", "bux578"};
authorUrl = "https://github.com/commy2/";
2015-01-18 07:32:07 +00:00
VERSION_CONFIG;
2015-01-11 19:32:51 +00:00
};
};
#include "CfgEventHandlers.hpp"
#include "CfgVehicles.hpp"
#include <Menu_Config.hpp>
2015-01-13 16:08:49 +00:00
class ACE_Options {
2015-01-11 19:32:51 +00:00
class Interaction_FlowMenu {
displayName = "$STR_ACE_Interaction_FlowMenu";
2015-01-11 19:32:51 +00:00
default = 0;
};
class Interaction_AutoCloseMenu {
displayName = "$STR_ACE_Interaction_AutoCloseMenu";
2015-01-11 19:32:51 +00:00
default = 0;
};
class Interaction_AutoCenterCursor {
displayName = "$STR_ACE_Interaction_AutoCenterCursor";
2015-01-11 19:32:51 +00:00
default = 1;
};
};
class ACE_Settings {
class GVAR(EnableTeamManagement) {
value = 1;
typeName = "BOOL";
};
2015-01-11 19:32:51 +00:00
};
2015-01-13 16:08:49 +00:00
class ACE_canInteractConditions {
2015-01-17 17:26:51 +00:00
class GVAR(isNotEscorting) {
condition = QUOTE( !(ACE_player getVariable [ARR_2('ACE_isEscorting', false)]) );
2015-01-11 19:32:51 +00:00
};
2015-01-17 17:26:51 +00:00
class GVAR(isNotCaptive) {
condition = QUOTE( !(ACE_player getVariable [ARR_2('ACE_isCaptive', false)]) );
2015-01-11 19:32:51 +00:00
};
2015-01-17 17:26:51 +00:00
class GVAR(isNotSurrendering) {
condition = QUOTE( !(ACE_player getVariable [ARR_2('ACE_isSurrender', false)]) );
2015-01-11 19:32:51 +00:00
};
2015-01-17 17:26:51 +00:00
class GVAR(isNotSwimming) {
condition = QUOTE( !underwater ACE_player );
2015-01-11 19:32:51 +00:00
};
};