mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
force first row to spawn
This commit is contained in:
parent
381fdd44ea
commit
8e0c7afc91
@ -25,7 +25,7 @@ if (worldName == "VR") then {
|
|||||||
_maxBunkerLimitSlots = 100;
|
_maxBunkerLimitSlots = 100;
|
||||||
_maxBunkerLimitPerRow = 10;
|
_maxBunkerLimitPerRow = 10;
|
||||||
|
|
||||||
_rngChance = 0.3; // Lower this to spawn more positions
|
_rngChance = 0; // Lower this to spawn more positions
|
||||||
_scriptHiveKey = "EPOCH:DynamicBunker"; // change this to force a new seed to be generated.
|
_scriptHiveKey = "EPOCH:DynamicBunker"; // change this to force a new seed to be generated.
|
||||||
|
|
||||||
_bunkerLocationsKey = format ["%1:%2", _instanceID, worldname];
|
_bunkerLocationsKey = format ["%1:%2", _instanceID, worldname];
|
||||||
@ -87,6 +87,7 @@ if (worldName == "VR") then {
|
|||||||
_location set [0,(_location select 0) + _size];
|
_location set [0,(_location select 0) + _size];
|
||||||
_rowCount = _rowCount + 1;
|
_rowCount = _rowCount + 1;
|
||||||
if (_rowCount >= _maxBunkerLimitPerRow) then {
|
if (_rowCount >= _maxBunkerLimitPerRow) then {
|
||||||
|
_rngChance = 0.3;
|
||||||
_colCount = _colCount + 1;
|
_colCount = _colCount + 1;
|
||||||
_rowCount = 0;
|
_rowCount = 0;
|
||||||
_location set [0,_originalLocation select 0];
|
_location set [0,_originalLocation select 0];
|
||||||
|
Loading…
Reference in New Issue
Block a user