selectRandomWeighted not ready

Switch to BIS_fnc_selectRandomWeighted
This commit is contained in:
DESKTOP-UH65DCE\MusTanG 2017-08-30 23:46:13 -05:00
parent 9230db9c7a
commit 7d136cddb3

View File

@ -3,7 +3,7 @@ false call EPOCH_pushCustomVar;
_spawnChance = ((EPOCH_playerNuisance + EPOCH_playerSoiled)/2) max 1;
// add more antagonist spawn chances
if (random _antagonistRndChance < _spawnChance) then {
(selectRandomWeighted _antagonistChances) call EPOCH_unitSpawnIncrease;
(_antagonistChances call BIS_fnc_selectRandomWeighted) call EPOCH_unitSpawnIncrease;
};
// diag_log format["DEBUG: _spawnChance %1",_spawnChance];