mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
23 lines
476 B
Plaintext
23 lines
476 B
Plaintext
/*
|
|
* Author: KoffeinFlummi
|
|
*
|
|
* Resets the FCS to default.
|
|
*
|
|
* Arguments:
|
|
* 0: Vehicle
|
|
*
|
|
* Return Value:
|
|
* none
|
|
*/
|
|
|
|
private ["_vehicle"];
|
|
|
|
_vehicle = _this select 0;
|
|
|
|
_vehicle setVariable ["AGM_FCSDistance", 0, true];
|
|
_vehicle setVariable ["AGM_FCSMagazines", [], true];
|
|
_vehicle setVariable ["AGM_FCSElevation", 0, true];
|
|
_vehicle setVariable ["AGM_FCSAzimuth", 0, true];
|
|
|
|
[localize "STR_AGM_FireControlSystem_HasBeenReset"] call AGM_Core_fnc_displayTextStructured;
|