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

◆ GetRandomPos()

vector GetRandomPos ( vector body_pos)

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

342 {
343 return body_pos + Vector(Math.RandomFloat01() - 0.5, 0, Math.RandomFloat01() - 0.5);
344 }
Определения EnMath.c:7
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
static float RandomFloat01()
Returns a random float number between and min [inclusive] and max [inclusive].
Определения EnMath.c:126

Перекрестные ссылки Math::RandomFloat01() и Vector().