Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.59 KB | None | 0 0
  1. span class="re5"> FNC_createTarget =
  2. {
  3. params ["_position","_direction","_type","_side","_marker"];
  4.     _object = ([_position,_direction,_type,_side] call bis_fnc_spawnvehicle) select 0;
  5.     _object addEventHandler ["killed",{deleteMarker "_this select 4";}];
  6.     _object disableAI "MOVE";
  7.     _object //return
  8. };
  9. {
  10.     private _position = getMarkerPos _x;
  11.     private _direction = 0;
  12.     private _type = "sab_boat_freighter_o";
  13.     private _side = WEST;
  14.     missionNamespace setVariable [format["%1", _forEachIndex], [_position, _direction, _type, _side , _x] call FNC_createTarget];
  15. } forEach _eastMarker;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement