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_BuildingDestructionConfig.c
Go to the documentation of this file.
1
[
BaseContainerProps
(configRoot:
true
)]
2
class
SCR_BuildingDestructionConfig
3
{
4
[
Attribute
(
desc
:
"Add typenames inheriting from IEntity to exclude them from entity query during final destruction phase"
)]
5
protected
ref array<string>
m_aExcludedEntityQueryTypes
;
6
7
ref array<typename>
m_aExcludedEntityQueryTypenames
;
8
9
//------------------------------------------------------------------------------------------------
10
void
SCR_BuildingDestructionConfig
()
11
{
12
typename
t;
13
foreach
(
string
typeName :
m_aExcludedEntityQueryTypes
)
14
{
15
if
(!
m_aExcludedEntityQueryTypenames
)
16
m_aExcludedEntityQueryTypenames
= {};
17
18
t = typeName.ToType();
19
if
(!t)
20
{
21
#ifdef WORKBENCH
22
Print
(
"Error: Excluded Entity Query Types contains typeName = "
+ typeName +
" which doesnt exist!"
,
LogLevel
.ERROR);
23
#endif
24
continue
;
25
}
26
27
m_aExcludedEntityQueryTypenames
.Insert(t);
28
}
29
}
30
}
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
SCR_BuildingDestructionConfig::SCR_BuildingDestructionConfig
void SCR_BuildingDestructionConfig()
Definition
SCR_BuildingDestructionConfig.c:10
SCR_BuildingDestructionConfig::m_aExcludedEntityQueryTypes
ref array< string > m_aExcludedEntityQueryTypes
Definition
SCR_BuildingDestructionConfig.c:5
SCR_BuildingDestructionConfig::m_aExcludedEntityQueryTypenames
ref array< typename > m_aExcludedEntityQueryTypenames
Definition
SCR_BuildingDestructionConfig.c:7
Print
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
LogLevel
Enum with severity of the logging message.
Definition
LogLevel.c:14
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
Destruction
Building
SCR_BuildingDestructionConfig.c
Generated by
1.17.0