Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_SetEnableDamageOtherEditorAttribute.c
Go to the documentation of this file.
3{
4 override SCR_BaseEditorAttributeVar ReadVariable(Managed item, SCR_AttributesManagerEditorComponent manager)
5 {
6 return super.ReadVariable(item, manager);
7 }
8
9 override void UpdateInterlinkedVariables(SCR_BaseEditorAttributeVar var, SCR_AttributesManagerEditorComponent manager, bool isInit = false)
10 {
11 if (isInit)
12 manager.SetAttributeAsSubAttribute(SCR_HealthOtherEditorAttribute);
13
14 bool enabledDamage = var && var.GetBool();
15
16 manager.SetAttributeEnabled(SCR_HealthOtherEditorAttribute, enabledDamage);
17 }
18};
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.