Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ANDCondition.c
Go to the documentation of this file.
1
//------------------------------------------------------------------------------------------------
3
[
BaseContainerProps
()]
4
class
SCR_ANDCondition
:
SCR_AvailableActionsGroupCondition
5
{
6
//------------------------------------------------------------------------------------------------
9
override
bool
IsAvailable(
SCR_AvailableActionsConditionData
data
)
10
{
11
bool
isOk =
true
;
12
foreach
(
auto
subCondition : m_aConditions)
13
{
14
if
(subCondition && !subCondition.IsAvailable(
data
))
15
{
16
isOk =
false
;
17
break
;
18
}
19
}
20
21
return
GetReturnResult(isOk);
22
}
23
};
SCR_AvailableActionsGroupCondition
Base for any condition containing multiple sub-conditions.
Definition:
SCR_AvailableActionsGroupCondition.c:4
SCR_AvailableActionsConditionData
Definition:
SCR_AvailableActionsConditionData.c:5
SCR_ANDCondition
Checks all sub conditions and returns true if all conditions return true, false otherwise.
Definition:
SCR_ANDCondition.c:4
data
Get all prefabs that have the spawner data
Definition:
SCR_EntityCatalogManagerComponent.c:305
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
UI
HUD
AvailableActions
Conditions
Logic
SCR_ANDCondition.c
Generated by
1.8.17