This commit is contained in:
[VB]AWOL
2013-11-18 10:21:42 -06:00
parent 7d3a40f5bb
commit 946c80d211

View File

@@ -0,0 +1,16 @@
private ["_spawnveh","_position","_direction","_veh"];
{
_spawnveh = _x select 0;
_position = _x select 1;
_direction = _x select 2;
//diag_log("DEBUG: Spawning a crashed " + _spawnveh + " with " + _spawnloot + " at " + str(_position));
_veh = _spawnveh createVehicleLocal _position;
_veh enableSimulation false;
// Randomize placement a bit
_veh setDir _direction;
_veh setpos _position;
} forEach _this;