MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / GetIRScanRange

Method GetIRScanRange

engine/Poseidon/AI/VehicleAI.cpp:967–973  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

965}
966
967float EntityAIType::GetIRScanRange() const
968{
969 float eyeRange = ENGINE_CONFIG.tacticalZ;
970 float irRange = eyeRange * _irScanToEyeFactor;
971 saturate(irRange, _irScanRangeMin, _irScanRangeMax);
972 return irRange;
973}
974
975LSError Serialize(ParamArchive& ar, RString name, const EntityType*& value, int minVersion)
976{

Callers 9

EstimateAttackMethod · 0.80
ManageMethod · 0.80
AddNewTargetsMethod · 0.80
CalcVisibilityMethod · 0.80
TrackTargetsMethod · 0.80
WhatIsVisibleMethod · 0.80
ValueMethod · 0.80
UpdateCellMethod · 0.80
CheckCursorTargetMethod · 0.80

Calls 1

saturateFunction · 0.85

Tested by

no test coverage detected