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

◆ Max()

static proto float Math::Max ( float x,
float y )
staticprivate

Returns bigger of two given values.

Аргументы
xfloat Value
yfloat Value
Возвращает
float - max value
Print( Math.Max(5.3, 2.8) );
>> 5.3
proto void Print(void var)
Prints content of variable to console/log.
void Math()
Определения EnMath.c:8

Перекрестные ссылки x и y.

Используется в Weapon::ApproximateBaseObstructionLength(), BleedingIndicatorDropData::BleedingIndicatorDropData(), PluginBase::CalcTemperatureFromTemperatureSource(), BleedChanceData::CalculateBleedChance(), CalculateVisibleBars(), CheckBaitCompatibility(), Cooling(), ReplaceItemWithNewLambda::CopyOldPropertiesToNew(), StaminaHandler::DepleteStaminaEx(), UniversalTemperatureSourceLambdaBaseImpl::DryItemsInVicinity(), PPERequester_GameplayBase::FadeInEffect(), PPERequester_GameplayBase::FadeOutEffect(), Weapon::GetApproximateMovementOffset(), Weapon_Base::GetApproximateMovementOffset(), WorldData::GetBaseEnvTemperatureAtPosition(), Weapon::GetEffectiveAttachmentLength(), CfgGameplayHandler::GetMovementRotationSpeedJog(), CfgGameplayHandler::GetMovementRotationSpeedSprint(), CfgGameplayHandler::GetMovementTimeToSprint(), CfgGameplayHandler::GetMovementTimeToStrafeJog(), CfgGameplayHandler::GetMovementTimeToStrafeSprint(), Weather::GetNoiseReductionByWeatherEx(), GetTemperatureFreezeTime(), GetTemperatureThawTime(), UIScriptedMenu::GetTutorialLineScale(), Entity::HandleFreezingProgression(), Entity::HandleItemOverheating(), HasMaterialsEx(), ManBase::Init(), ItemOptics::InitCameraOverrideProperties(), ItemBaseType::ItemBaseType(), PPEMatClassParameterColor::ModifyResultValues(), ScriptConsoleGeneralTab::OnDoubleClick(), Car::OnInput(), CholeraMdfr::OnTick(), HeavyMetalPhase2Mdfr::OnTick(), OnTick(), PoisoningMdfr::OnTick(), ProcessNutrients(), StaminaHandler::ProcessStaminaChanges(), StaminaHandler::RecalculateStaminaCap(), RGBToHSV(), vector::SanitizeMinsMaxs(), Ammunition_Base::SetFromProjectile(), Hologram::SetOnGround(), StaticConstructionMethods::SpawnConstructionMaterialPilesEx(), TakeMaterialsServer(), PluginBase::TransmitAgentsEx(), BunkerBroadcastHandler::Update(), PPEMatClassParameterCommandData::Update(), Update(), PPERequester_SandstormEffect::UpdateEffect(), BroomBase::UpdateParticle(), Container::UpdateRowVisibility(), FlammableBase::Upgrade(), PlayerRestrictedAreaInstance::ValidatePlayerRestrictedAreaPositions() и UniversalTemperatureSourceLambdaBaseImpl::WarmAndCoolItemsInVicinity().