2240 {
2242 bool isParentAliveOrganism = false;
2243 if (rootParent && rootParent != this)
2244 isParentAliveOrganism = (rootParent.
IsMan() || rootParent.IsAnimal() || rootParent.IsZombie()) && rootParent.IsAlive();
2245
2247 {
2249 }
2250 else if (isParentAliveOrganism)
2251 {
2253 }
2254 else
2255 {
2257 }
2258
2260 }
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)