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

◆ Length()

proto native float vector::Length ( )
private

Returns length of vector (magnitude)

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

Используется в CheckContactCache(), EOnPostSimulate(), CGame::FirearmEffects(), EntityAI::GetImpactSurfaceTypeEx(), EntityAI::GetMomentum(), Hologram::GetProjectionDiameter(), Hologram::GetProjectionRadius(), BaseBuildingBase::IsFacingCamera(), BaseBuildingBase::IsFacingPlayer(), BaseBuildingBase::IsPlayerInside(), TentBase::IsPlayerInside(), DayZCreature::ModCommandHandlerBefore(), EntityAI::ProcessImpactSoundEx() и ScriptConsoleGeneralTab::Update().