Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_SetEnableDamageOtherEditorAttribute.c
Go to the documentation of this file.
1
[
BaseContainerProps
(),
SCR_BaseEditorAttributeCustomTitle
()]
2
class
SCR_SetEnableDamageOtherEditorAttribute
:
SCR_SetEnableDamageEditorAttribute
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_SetEnableDamageEditorAttribute
Definition:
SCR_SetEnableDamageEditorAttribute.c:2
SCR_SetEnableDamageOtherEditorAttribute
Definition:
SCR_SetEnableDamageOtherEditorAttribute.c:2
SCR_BaseEditorAttributeCustomTitle
Definition:
SCR_BaseEditorAttribute.c:868
SCR_BaseEditorAttributeVar
Definition:
SCR_BaseEditorAttributeVar.c:1
SCR_HealthOtherEditorAttribute
Definition:
SCR_HealthOtherEditorAttribute.c:3
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition:
SCR_AIGoalReaction.c:468
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Editor
Containers
Attributes
SCR_SetEnableDamageOtherEditorAttribute.c
Generated by
1.8.17