Checks characters proximity for usable Universal Temperature Sources and register them.
1470 {
1472
1473
1477
1480
1481 foreach (
EntityAI nearestEntity : nearestObjects)
1482 {
1483 if (nearestEntity.IsUniversalTemperatureSource() && nearestEntity !=
m_Player)
1484 {
1486 if (!nearestEntity.GetUniversalTemperatureSource().GetLambda().AffectsPlayer())
1487 continue;
1488
1491 continue;
1492
1494 }
1495 }
1496
1497 if (
m_Player.GetItemInHands() &&
m_Player.GetItemInHands().IsUniversalTemperatureSource())
1499 }
void DayZPlayerUtils()
cannot be instantiated
ref array< UTemperatureSource > m_UTemperatureSources
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.
const float ENVIRO_TEMP_SOURCES_LOOKUP_RADIUS
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
static proto float SqrFloat(float f)
Returns squared value.