mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fcs reset was still broken
This commit is contained in:
parent
b2945c34d7
commit
19cf05314e
@ -6,7 +6,7 @@ class CfgPatches {
|
||||
weapons[] = {};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {ace_common, ace_interaction};
|
||||
author[] = {"KoffeinFlummi","BadGuy (simon84)"};
|
||||
author[] = {"KoffeinFlummi","BadGuy (simon84)","commy2"};
|
||||
authorUrl = "https://github.com/KoffeinFlummi/";
|
||||
VERSION_CONFIG;
|
||||
};
|
||||
|
@ -12,13 +12,14 @@
|
||||
|
||||
#include "script_component.hpp"
|
||||
|
||||
private "_vehicle";
|
||||
private ["_vehicle", "_turret"];
|
||||
|
||||
_vehicle = _this select 0;
|
||||
_turret = _this select 1;
|
||||
|
||||
[_vehicle, QGVAR(Distance), 0] call EFUNC(common,setVariablePublic);
|
||||
[_vehicle, QGVAR(Magazines), []] call EFUNC(common,setVariablePublic);
|
||||
[_vehicle, QGVAR(Elevation), 0] call EFUNC(common,setVariablePublic);
|
||||
[_vehicle, QGVAR(Azimuth), 0] call EFUNC(common,setVariablePublic);
|
||||
[_vehicle, format ["%1_%2", QGVAR(Distance), _turret], 0] call EFUNC(common,setVariablePublic);
|
||||
[_vehicle, format ["%1_%2", QGVAR(Magazines), _turret], []] call EFUNC(common,setVariablePublic);
|
||||
[_vehicle, format ["%1_%2", QGVAR(Elevation), _turret], 0] call EFUNC(common,setVariablePublic);
|
||||
[_vehicle, format ["%1_%2", QGVAR(Azimuth), _turret], 0] call EFUNC(common,setVariablePublic);
|
||||
|
||||
[localize "STR_ACE_FCS_HasBeenReset"] call EFUNC(common,displayTextStructured);
|
||||
|
Loading…
Reference in New Issue
Block a user