Relaxed conditions when spawning objects to tighten up placement of base objects.
This commit is contained in:
parent
07c8132d91
commit
8ec6d7f8dc
@ -16,7 +16,9 @@ private["_objects","_object"];
|
||||
|
||||
{
|
||||
//diag_log format["_sm_spawnObjects:: spawning object of type %1 with parameters of %2",_x select 0, _x];
|
||||
private _object = (_x select 0) createVehicle [0,0,0];
|
||||
//private _object = (_x select 0) createVehicle [0,0,0];
|
||||
// [type, position, markers, placement, special]
|
||||
_object = createVehicle [_x select 0, _x select 1, [], 0, "CAN_COLLIDE"];
|
||||
_object setPosASL (_x select 1);
|
||||
_object setVectorDirAndUp (_x select 2);
|
||||
_object enableSimulationGlobal ((_x select 3) select 0);
|
||||
|
Loading…
Reference in New Issue
Block a user