mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Removed in-vehicle interactions from interactions addon
This commit is contained in:
parent
380ae9fdc8
commit
437f85a3b3
@ -383,86 +383,6 @@ class CfgVehicles {
|
||||
class ACE_SelfSpatialActions {};
|
||||
};
|
||||
|
||||
class Helicopter_Base_F: Helicopter {};
|
||||
class Helicopter_Base_H: Helicopter_Base_F {};
|
||||
class Heli_Light_01_base_F: Helicopter_Base_H {
|
||||
class ACE_SelfSpatialActions: ACE_SelfSpatialActions {
|
||||
class ACE_TurnEngineOn {
|
||||
icon = PATHTOF(UI\btn-06.paa);
|
||||
displayName = "";
|
||||
selection = "";
|
||||
position = "[0.057,1.725,-0.24]";
|
||||
distance = 1.5;
|
||||
condition = "!isEngineOn _target";
|
||||
statement = QUOTE([ARR_3('ace_interaction_engineOn',_target,[ARR_2(_target, true)])] call EFUNC(common,objectEvent););
|
||||
};
|
||||
class ACE_TurnEngineOff {
|
||||
icon = PATHTOF(UI\btn-05.paa);
|
||||
displayName = "";
|
||||
selection = "";
|
||||
position = "[0.057,1.725,-0.24]";
|
||||
distance = 1.5;
|
||||
condition = "isEngineOn _target";
|
||||
statement = QUOTE([ARR_3('ace_interaction_engineOn',_target,[ARR_2(_target, false)])] call EFUNC(common,objectEvent););
|
||||
};
|
||||
|
||||
class ACE_BatOn {
|
||||
icon = PATHTOF(UI\btn-02.paa);
|
||||
displayName = "";
|
||||
selection = "";
|
||||
position = "[-0.08,1.74,-0.01]";
|
||||
distance = 1.5;
|
||||
condition = QUOTE(!(_target getVariable [ARR_2('ace_interact_batStatus',false)]));
|
||||
statement = QUOTE(_target setVariable [ARR_2('ace_interact_batStatus',true)];);
|
||||
};
|
||||
class ACE_BatOff {
|
||||
icon = PATHTOF(UI\btn-01.paa);
|
||||
displayName = "";
|
||||
selection = "";
|
||||
position = "[-0.08,1.74,-0.01]";
|
||||
distance = 1.5;
|
||||
condition = QUOTE((_target getVariable [ARR_2('ace_interact_batStatus',false)]));
|
||||
statement = QUOTE(_target setVariable [ARR_2('ace_interact_batStatus',false)];);
|
||||
};
|
||||
class ACE_GenOn {
|
||||
icon = PATHTOF(UI\btn-04.paa);
|
||||
displayName = "";
|
||||
selection = "";
|
||||
position = "[-0.08,1.735,-0.05]";
|
||||
distance = 1.5;
|
||||
condition = QUOTE(!(_target getVariable [ARR_2('ace_interact_genStatus',false)]));
|
||||
statement = QUOTE(_target setVariable [ARR_2('ace_interact_genStatus',true)];);
|
||||
};
|
||||
class ACE_GenOff {
|
||||
icon = PATHTOF(UI\btn-03.paa);
|
||||
displayName = "";
|
||||
selection = "";
|
||||
position = "[-0.08,1.735,-0.05]";
|
||||
distance = 1.5;
|
||||
condition = QUOTE((_target getVariable [ARR_2('ace_interact_genStatus',false)]));
|
||||
statement = QUOTE(_target setVariable [ARR_2('ace_interact_genStatus',false)];);
|
||||
};
|
||||
class ACE_FuelPumpOn {
|
||||
icon = PATHTOF(UI\btn-08.paa);
|
||||
displayName = "";
|
||||
selection = "";
|
||||
position = "[-0.055,1.74,-0.015]";
|
||||
distance = 1.5;
|
||||
condition = QUOTE(!(_target getVariable [ARR_2('ace_interact_fuelPumpStatus',false)]));
|
||||
statement = QUOTE(_target setVariable [ARR_2('ace_interact_fuelPumpStatus',true)];);
|
||||
};
|
||||
class ACE_FuelPumpOff {
|
||||
icon = PATHTOF(UI\btn-07.paa);
|
||||
displayName = "";
|
||||
selection = "";
|
||||
position = "[-0.055,1.74,-0.015]";
|
||||
distance = 1.5;
|
||||
condition = QUOTE((_target getVariable [ARR_2('ace_interact_fuelPumpStatus',false)]));
|
||||
statement = QUOTE(_target setVariable [ARR_2('ace_interact_fuelPumpStatus',false)];);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Plane: Air {
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -79,8 +79,3 @@ GVAR(isOpeningDoor) = false;
|
||||
|
||||
["isNotSwimming", {!underwater (_this select 0)}] call EFUNC(common,addCanInteractWithCondition);
|
||||
["isNotOnLadder", {getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> animationState (_this select 0) >> "ACE_isLadder") != 1}] call EFUNC(common,addCanInteractWithCondition);
|
||||
|
||||
[QGVAR(engineOn), {
|
||||
params ["_unit", "_state"];
|
||||
_unit engineOn _state;
|
||||
}] call EFUNC(common,addEventHandler);
|
||||
|
Loading…
Reference in New Issue
Block a user