1028 {
1029
1031
1032 if (newLevel == GameConstants.STATE_RUINED)
1033 {
1034 if (parent)
1035 {
1036 parent.OnAttachmentRuined(this);
1037 }
1038 if (!zone)
1039 {
1041 }
1043 }
1044 }
proto native EntityAI GetHierarchyParent()
Returns direct parent of current entity.
void EntityAI()
cache blood infection chance (cfgVehicles-><entity>->Skinning->BloodInfectionSettings)
void OnDamageDestroyed(int oldLevel)
Called when the health gets to the min value, 'oldLevel' is previous health level,...
void AttemptDestructionBehaviour(int oldLevel, int newLevel, string zone)