Files
m119/addons/m119/functions/fnc_init.sqf
Sotirios Pupakis e6dbab8c87 Breech operation
2024-04-22 15:24:56 +02:00

34 lines
544 B
Plaintext

/*
FILE: fnc_init.sqf
Name: tbd_m119_m119_fnc_init
Author(s):
ilbinek
Description:
Init all variables for the M119
Parameters:
_arty - object - M119 to be inited
Returns:
Nothing
Examples:
> [_arty] call tbd_m119_m119_fnc_init;
Public:
No
*/
#include "..\script_component.hpp"
params ["_arty"];
// Set the state variables
_arty setVariable [QGVAR(folded), false, true];
_arty setVariable [QGVAR(breech), false, true];
_arty setVariable [QGVAR(loaded), false, true];
_arty setVariable [QGVAR(fired), false, true];