2286 {
2288 bool isParentAliveOrganism = false;
2289 if (rootParent && rootParent != this)
2290 isParentAliveOrganism = (rootParent.
IsMan() || rootParent.IsAnimal() || rootParent.IsZombie()) && rootParent.IsAlive();
2291
2293 {
2295 }
2296 else if (isParentAliveOrganism)
2297 {
2299 }
2300 else
2301 {
2303 }
2304
2306 }
bool UseConfigInitTemperature()
float GetTemperatureFreezeThreshold()
void SetFrozen(bool frozen)
void EntityAI()
cache blood infection chance (cfgVehicles-><entity>->Skinning->BloodInfectionSettings)
float m_VarTemperatureInit
proto native EntityAI GetHierarchyRoot()
Returns root of current hierarchy (for example: if this entity is in Backpack on gnd,...
void SetTemperatureDirect(float value, bool allow_client=false)