Jump to content

stonXer

Member
  • Posts

    483
  • Joined

  • Last visited

Posts posted by stonXer

  1. Using maca's 3d editor when you save it or export it, it gives you 2 different layouts. I use the one that has the top and bottom bits :) works fine, might be better ways..

    private ["_objs"];
    _objs = [
    	["placeditem",[00000.0,00000.0,0],180,[[0.,-1,0],[-0,0,1]],false]
    ];
    
    {
    	private ["_obj"];
    	_obj = createVehicle [_x select 0, [0,0,0], [], 0, "CAN_COLLIDE"];
    	if (_x select 4) then {
    		_obj setDir (_x select 2);
    		_obj setPos (_x select 1);
    	} else {
    		_obj setPosATL (_x select 1);
    		_obj setVectorDirAndUp (_x select 3);
    	};
    } foreach _objs;
    
×
×
  • Create New...