Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_CampaignBuildingObstructionExceptionComponent.c
Go to the documentation of this file.
3 {
4 }
5 
6 class SCR_CampaignBuildingObstructionExceptionComponent : ScriptComponent
7 {
8  [Attribute("", UIWidgets.ResourceNamePicker, desc: "List of prefab that can colide with this entity on Free Roam building obstruction test.", params: "et")]
9  protected ref array<ResourceName> m_aWhiteListPrefabs;
10 
11  //------------------------------------------------------------------------------------------------
14  {
15  return m_aWhiteListPrefabs.IsEmpty();
16  }
17 
18  //------------------------------------------------------------------------------------------------
20  bool IsOnWhitelist(ResourceName resName)
21  {
22  return m_aWhiteListPrefabs.Contains(resName);
23  }
24 }
ScriptComponent
SCR_SiteSlotEntityClass ScriptComponent
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition: SCR_RespawnBriefingComponent.c:17
Attribute
SCR_CampaignBuildingObstructionExceptionComponentClass ScriptComponentClass Attribute("", UIWidgets.ResourceNamePicker, desc:"List of prefab that can colide with this entity on Free Roam building obstruction test.", params:"et")] protected ref array< ResourceName > m_aWhiteListPrefabs
params
Configs ServerBrowser KickDialogs params
Definition: SCR_NotificationSenderComponent.c:24
IsOnWhitelist
bool IsOnWhitelist(ResourceName resName)
Check if the given ID is ont he list of whitelisted prefabs.
Definition: SCR_CampaignBuildingObstructionExceptionComponent.c:20
IsWhitelistEmpty
bool IsWhitelistEmpty()
return true when there is no prefab set on the whitelist.
Definition: SCR_CampaignBuildingObstructionExceptionComponent.c:13
SCR_CampaignBuildingObstructionExceptionComponentClass
Prefab with this component will be skipped by Campaign Building obstruction system when evaluating bl...
Definition: SCR_CampaignBuildingObstructionExceptionComponent.c:2