1234567891011121314151617181920212223242526272829303132333435 |
- #include "../../config_macros.hpp"
- params[
- ["_vic",objNull ,[player]],
- ["_attach_pos",[0,0,0],[[1,2,3]],3]
- ];
-
- if (!canSuspend) exitWith {
- _vic spawn macro_fnc_name(atte_uav_init);
- };
-
- if (!isServer) exitWith {};
-
- sleep 1;
-
- if(isNull _vic || !(alive _vic)) exitWith {
-
- };
-
- _atte_mens = createVehicle [macro_quote(macro_new_vehicle(atte_itt,cabin)), getPosASL _vic, [], 0, ""];
-
- _atte_mens attachTo [_vic,_attach_pos];
-
-
-
-
- _atte_mens allowDamage false;
- _atte_mens setvehicleammo 0;
- _atte_mens lockDriver true;
- [_atte_mens, 20] call ace_cargo_fnc_setSpace;
-
|