mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
test using normal object for first spawn
This commit is contained in:
parent
7c3ea0e936
commit
ec756c3134
@ -90,7 +90,8 @@ if (worldName == "VR") then {
|
|||||||
_rng = _seed random [_location select 0,_location select 1];
|
_rng = _seed random [_location select 0,_location select 1];
|
||||||
if (_rng > _rngChance) then {
|
if (_rng > _rngChance) then {
|
||||||
_selectedBunker = selectRandomWeighted _valuesAndWeights;
|
_selectedBunker = selectRandomWeighted _valuesAndWeights;
|
||||||
_object = createSimpleObject [_selectedBunker, _location];
|
// _object = createSimpleObject [_selectedBunker, _location];
|
||||||
|
_object = createVehicle [_selectedBunker, _location, [], 0, "CAN_COLLIDE"];
|
||||||
if (isNull _firstBunker) then {_firstBunker = _object;};
|
if (isNull _firstBunker) then {_firstBunker = _object;};
|
||||||
_allBunkers pushBack _object;
|
_allBunkers pushBack _object;
|
||||||
_newBunkerCounter = _newBunkerCounter + 1;
|
_newBunkerCounter = _newBunkerCounter + 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user