Earl Hickey 10 Posted January 25, 2016 I have been spawning items at server start VIA script, as it is easier to edit than within the mission file. This is the code: _objs=[ ["ClassName",[12223,14393.3,0],0,[[0,1,0],[0,0,1]],false] ]; { private ["_obj"];_obj = createVehicle [_x select 0, [0,0,0], [], 0, "CAN_COLLIDE"]; _obj allowDamage false; clearItemCargoGlobal _obj; 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; All objects have static positions yet the z position seems to vary after server restart. Share this post Link to post Share on other sites
gc8 981 Posted January 25, 2016 try using setPosATL only and not setPos. then the z should not vary. Share this post Link to post Share on other sites
Fraali 1 Posted January 25, 2016 The _x select 4 is false on all the objects, so it should not run that code. (I'm working on it with him). I have tried doing what you said despite that and it still does not work. Share this post Link to post Share on other sites