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

◆ RandomFloat()

float map::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 строка 302

303 {
304 return Random01() * (max - min) + min;
305 }
proto native float Random01()
Определения Transport.c:70