Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_EntityCatalogSpawnerOverrideData.c
Go to the documentation of this file.
1[BaseContainerProps(configRoot: true), BaseContainerCustomCheckIntTitleField("m_bEnabled", "SpawnerDataOverride", "DISABLED - SpawnerDataOverride", 1)]
3{
4 [Attribute("-1", desc: "Override Minimum required rank to spawn entity. Set empty to have the EditableEntity component decide the rank", uiwidget: UIWidgets.SearchComboBox, enums: ParamEnumArray.FromEnum(SCR_ECharacterRank))]
5 protected SCR_ECharacterRank m_eMinimumRequiredRankOverride;
6
7 [Attribute("-1", desc: "Cost to spawn entity, Set -1 to have the EditableEntity component decide the supply cost with the CAMPAIGN budget")]
8 protected int m_iSupplyCostOverride;
9
10 //---------------------------------------------------------------------------------------------
11 //~ Allows for overriding the cost and ranking that would otherwise be obtained from the EditableEntityComponent
12 override void InitData(notnull SCR_EntityCatalogEntry entry)
13 {
14 super.InitData(entry);
15
18
19 if (m_iSupplyCostOverride >= 0)
21
22 SCR_EditableEntityUIInfo uiInfo = SCR_EditableEntityUIInfo.Cast(entry.GetEntityUiInfo());
23 }
24}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
SCR_ValuableIntelArsenalRefundEffect SCR_WeightedListArsenalRefundEffect BaseContainerCustomCheckIntTitleField("m_bEnabled", "Valuable Intel - Add XP", "(Disabled) Valuable Intel - Add XP", 1)
override void InitData(notnull SCR_EntityCatalogEntry entry)
SCR_FieldOfViewSettings Attribute