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

◆ RandomizedDeviation()

float RandomizedDeviation ( )
protected

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

100 {
102 if ((Math.RandomIntInclusive(0, 10) % 2) == 0)
103 {
105 }
106 else
107 {
109 }
110 }
enum EMapNavigationType RANDOM_DEVIATION_MIN
const int RANDOM_DEVIATION_MAX
Определения MapNavigationBehaviour.c:12
Определения EnMath.c:7
static proto int Randomize(int seed)
Sets the seed for the random number generator.
static int RandomIntInclusive(int min, int max)
Returns a random int number between and min [inclusive] and max [inclusive].
Определения EnMath.c:54
proto native float GetWorldTime()

Перекрестные ссылки GetWorldTime(), RANDOM_DEVIATION_MAX, RANDOM_DEVIATION_MIN, Math::RandomIntInclusive() и Math::Randomize().

Используется в RandomizePosition().