Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
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 
16  if (m_eMinimumRequiredRankOverride >= 0)
17  m_eMinimumRequiredRank = m_eMinimumRequiredRankOverride;
18 
19  if (m_iSupplyCostOverride >= 0)
20  m_iSupplyCost = m_iSupplyCostOverride;
21 
22  SCR_EditableEntityUIInfo uiInfo = SCR_EditableEntityUIInfo.Cast(entry.GetEntityUiInfo());
23  }
24 }
m_iSupplyCost
protected int m_iSupplyCost
Definition: SCR_ArsenalItem.c:9
SCR_ECharacterRank
SCR_ECharacterRank
Definition: SCR_CharacterRankComponent.c:305
SCR_EditableEntityUIInfo
Definition: SCR_EditableEntityUIInfo.c:2
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition: SCR_RespawnBriefingComponent.c:17
SCR_EntityCatalogSpawnerOverrideData
Definition: SCR_EntityCatalogSpawnerOverrideData.c:2
Attribute
typedef Attribute
Post-process effect of scripted camera.
BaseContainerCustomCheckIntTitleField
Attribute for setting a custom format if the given checkVar is equal to checkVarEqual....
Definition: Attributes.c:659
SCR_EntityCatalogSpawnerData
Definition: SCR_EntityCatalogSpawnerData.c:5
SCR_EntityCatalogEntry
Definition: SCR_EntityCatalogEntry.c:5
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