DayZ 1.28
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 строка 183

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

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