This commit is contained in:
KoffeinFlummi 2015-01-12 11:06:27 +01:00
parent e02e058ecb
commit 7d9b03611a
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
#include "script_component.hpp" #include "script_component.hpp"
GVAR(enabled) = True; GVAR(enabled) = True;
GVAR(time) = True; GVAR(time) = 0;
GVAR(position) = True; GVAR(position) = [0,0,0];

View File

@ -83,7 +83,7 @@ class CfgVehicles {
class Car: LandVehicle { class Car: LandVehicle {
class ACE_SelfActions { class ACE_SelfActions {
class ResetFCS { class ResetFCS {
displayName = $STR_AGM_FireControlSystem_ResetFCS; displayName = $STR_ACE_FireControlSystem_ResetFCS;
enableInside = 1; enableInside = 1;
condition = QUOTE((count (_vehicle getVariable [QGVAR(Magazines), []]) > 1) and (_player == gunner _vehicle)); condition = QUOTE((count (_vehicle getVariable [QGVAR(Magazines), []]) > 1) and (_player == gunner _vehicle));
statement = QUOTE([vehicle _player] call FUNC(reset);); statement = QUOTE([vehicle _player] call FUNC(reset););
@ -137,7 +137,7 @@ class CfgVehicles {
GVAR(Enabled) = 1; // all tracked vehicles get one by default GVAR(Enabled) = 1; // all tracked vehicles get one by default
class ACE_SelfActions { class ACE_SelfActions {
class ResetFCS { class ResetFCS {
displayName = $STR_AGM_FireControlSystem_ResetFCS; displayName = $STR_ACE_FireControlSystem_ResetFCS;
enableInside = 1; enableInside = 1;
condition = QUOTE((count (_vehicle getVariable [QGVAR(Magazines), []]) > 1) and (_player == gunner _vehicle)); condition = QUOTE((count (_vehicle getVariable [QGVAR(Magazines), []]) > 1) and (_player == gunner _vehicle));
statement = QUOTE([vehicle _player] call FUNC(reset);); statement = QUOTE([vehicle _player] call FUNC(reset););
@ -255,7 +255,7 @@ class CfgVehicles {
class Helicopter: Air { class Helicopter: Air {
class ACE_SelfActions { class ACE_SelfActions {
class ResetFCS { class ResetFCS {
displayName = $STR_AGM_FireControlSystem_ResetFCS; displayName = $STR_ACE_FireControlSystem_ResetFCS;
enableInside = 1; enableInside = 1;
condition = QUOTE((count (_vehicle getVariable [QGVAR(Magazines), []]) > 1) and (_player == gunner _vehicle)); condition = QUOTE((count (_vehicle getVariable [QGVAR(Magazines), []]) > 1) and (_player == gunner _vehicle));
statement = QUOTE([vehicle _player] call FUNC(reset);); statement = QUOTE([vehicle _player] call FUNC(reset););