Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
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
};
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
SCR_BaseEditorAttributeCustomTitle
Definition
SCR_BaseEditorAttribute.c:876
SCR_BaseEditorAttributeVar
Definition
SCR_BaseEditorAttributeVar.c:2
SCR_BaseEditorAttributeVar::GetBool
bool GetBool()
Definition
SCR_BaseEditorAttributeVar.c:56
SCR_HealthOtherEditorAttribute
Definition
SCR_HealthOtherEditorAttribute.c:4
SCR_SetEnableDamageEditorAttribute
Definition
SCR_SetEnableDamageEditorAttribute.c:3
SCR_SetEnableDamageOtherEditorAttribute
Definition
SCR_SetEnableDamageOtherEditorAttribute.c:3
scripts
Game
Editor
Containers
Attributes
SCR_SetEnableDamageOtherEditorAttribute.c
Generated by
1.17.0