Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ArsenalWeaponsEditorAttribute.c
Go to the documentation of this file.
1
[
BaseContainerProps
(),
SCR_BaseEditorAttributeCustomTitle
()]
2
class
SCR_ArsenalWeaponsEditorAttribute
:
SCR_ArsenalBaseEditorAttribute
3
{
4
override
void
UpdateInterlinkedVariables(
SCR_BaseEditorAttributeVar
var, SCR_AttributesManagerEditorComponent manager,
bool
isInit =
false
)
5
{
6
//Set sub labels
7
if
(isInit)
8
manager.SetAttributeAsSubAttribute(
SCR_ArsenalAmmunitionModeAttribute
);
9
10
//~ If Weapons null or only Attachment set SCR_ArsenalAmmunitionModeAttribute disabled
11
manager.SetAttributeEnabled(
SCR_ArsenalAmmunitionModeAttribute
, var && (var.GetInt() != 0 && var.GetInt() !=
SCR_EArsenalItemType
.WEAPON_ATTACHMENT));
12
13
super.UpdateInterlinkedVariables(var, manager, isInit);
14
}
15
}
SCR_ArsenalAmmunitionModeAttribute
Definition:
SCR_ArsenalAmmunitionModeAttribute.c:2
SCR_BaseEditorAttributeCustomTitle
Definition:
SCR_BaseEditorAttribute.c:868
SCR_ArsenalBaseEditorAttribute
Definition:
SCR_ArsenalBaseEditorAttribute.c:2
SCR_EArsenalItemType
SCR_EArsenalItemType
Definition:
SCR_EArsenalItemType.c:2
SCR_ArsenalWeaponsEditorAttribute
Definition:
SCR_ArsenalWeaponsEditorAttribute.c:2
SCR_BaseEditorAttributeVar
Definition:
SCR_BaseEditorAttributeVar.c:1
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_ArsenalWeaponsEditorAttribute.c
Generated by
1.8.17