3836 {
3837
3838 if (
g_Game.IsWorldWetTempUpdateEnabled())
3839 {
3841 {
3842 float target =
g_Game.GetMission().GetWorldData().GetBaseEnvTemperatureAtObject(
this);
3844 {
3845 float heatPermCoef = 1.0;
3847 while (ent)
3848 {
3849 heatPermCoef *= ent.GetHeatPermeabilityCoef();
3850 ent = ent.GetHierarchyParent();
3851 }
3852
3854 }
3855 }
3856 }
3857 }
void SetTemperatureEx(TemperatureData data)
sets temperature, handles base overheating and freezing state progression logics
void EntityAI()
cache blood infection chance (cfgVehicles-><entity>->Skinning->BloodInfectionSettings)
float m_ElapsedSinceLastUpdate
bool CanHaveTemperature()
returns true used on selected items that have a temperature effect and can processes temperature chan...
proto native EntityAI GetHierarchyRoot()
Returns root of current hierarchy (for example: if this entity is in Backpack on gnd,...
bool IsSelfAdjustingTemperature()
bool IsFreezeThawProgressFinished()
on server only