Files
MissionTemplate/functions/resupply/fn_createMedicalBox.sqf

26 lines
534 B
Plaintext

/*
* Author: Hizumi
*
* Create Ammo resupply box for the 17th Battalion
*
* Arguments:
* 0: Vehicle - <OBJECT>
* 1: Position - <ARRAY>
*
* Return Value:
* Function executed <BOOL>
*
* Example:
* [box] call milsim_fnc_createMedicalBox; // create ammo box via init line of editor object
* [objNull, pos] call milsim_fnc_createMedicalBox // create ammo box via zeus module
*
* Public: Yes
*/
params [
["_box", objNull, [objNull]],
["_pos", [0,0,0], [[]], 3]
];
[_box, "MEDICAL", _pos] call milsim_fnc_createBox;