Skip to content

Instantly share code, notes, and snippets.

@jameslkingsley
Created September 27, 2016 02:13
Show Gist options
  • Select an option

  • Save jameslkingsley/49e009fa86c590d7be9b6eb9071cf444 to your computer and use it in GitHub Desktop.

Select an option

Save jameslkingsley/49e009fa86c590d7be9b6eb9071cf444 to your computer and use it in GitHub Desktop.
private _pos = getMarkerPos "killhouse";
private _hangarLeft = "Land_Airport_02_hangar_left_F";
private _hangarRight = "Land_Airport_02_hangar_right_F";
private _left0 = createVehicle [_hangarLeft, _pos, [], 0, "CAN_COLLIDE"];
private _right0 = createVehicle [_hangarRight, (_pos vectorAdd [31, 0, 0]), [], 0, "CAN_COLLIDE"];
private _left1 = createVehicle [_hangarRight, (_pos vectorAdd [-4, -50, 0]), [], 0, "CAN_COLLIDE"];
private _right1 = createVehicle [_hangarLeft, (_pos vectorAdd [35, -50, 0]), [], 0, "CAN_COLLIDE"];
{_x setDir 180} forEach [_left1, _right1];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment