34 lines
544 B
Plaintext
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];
|