2242 {
2244 bool isParentAliveOrganism = false;
2245 if (rootParent && rootParent != this)
2246 isParentAliveOrganism = (rootParent.
IsMan() || rootParent.IsAnimal() || rootParent.IsZombie()) && rootParent.IsAlive();
2247
2249 {
2251 }
2252 else if (isParentAliveOrganism)
2253 {
2255 }
2256 else
2257 {
2259 }
2260
2262 }
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)