10 IEntity owner = editableEntity.GetOwner();
14 ChimeraCharacter character = ChimeraCharacter.Cast(owner);
19 if (!characterDamageManager)
22 if (characterDamageManager.GetState() ==
EDamageState.DESTROYED)
28 override void WriteVariable(Managed item,
SCR_BaseEditorAttributeVar var, SCR_AttributesManagerEditorComponent manager,
int playerID)
37 ChimeraCharacter character = ChimeraCharacter.Cast(editableEntity.GetOwner());
42 if (!characterDamageManager)
45 CharacterControllerComponent controller = CharacterControllerComponent.Cast(character.GetCharacterController());
53 if (!characterDamageManager.IsDamageHandlingEnabled())
58 characterDamageManager.Kill(
Instigator.CreateInstigator(
null));
60 characterDamageManager.SetPermitUnconsciousness(var.GetBool(),
true);