DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ RandomFloat()

float EntityAI::RandomFloat ( float min,
float max )
inlineprotected

Random number in range of <min,max> - !!! use this only during deterministic simulation (EOnSimulate/EOnPostSimulate)

Возвращает
float value in range of <min,max>

См. определение в файле Transport.c строка 239

240 {
241 return Random01() * (max - min) + min;
242 }
proto native float Random01()
Random number in range of <0,1> - !!! use this only during deterministic simulation (EOnSimulate/EOnP...

Перекрестные ссылки Random01().