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

◆ LengthSq()

proto native float vector::LengthSq ( )
private

Returns squared length (magnitudeSqr)

Возвращает
float Length of vector
vector vec = "1 1 0";
float length = vec.LengthSq();
Print( length );
>> length = 2
proto native float LengthSq()
Returns squared length (magnitudeSqr)
Определения EnConvert.c:106
proto void Print(void var)
Prints content of variable to console/log.

Используется в ManBase::BrokenLegWalkShock() и GetMeleeTarget().