Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkInstigatorContextConditionRelation.c
Go to the documentation of this file.
3{
4
5 [Attribute(desc: "Checked Victim-Killer Relation", uiwidget: UIWidgets.ComboBox, enumType: SCR_ECharacterDeathStatusRelations)]
6 ref array<SCR_ECharacterDeathStatusRelations> m_aVictimKillerRelations;
7
8 //------------------------------------------------------------------------------------------------
9 override bool ConditionCheck(SCR_InstigatorContextData instigatorContext)
10 {
11 if (!m_aVictimKillerRelations || m_aVictimKillerRelations.IsEmpty())
12 return false;
13
14 foreach (SCR_ECharacterDeathStatusRelations relation : m_aVictimKillerRelations)
15 {
16 if (relation == instigatorContext.GetVictimKillerRelation())
17 return true;
18 }
19
20 return false;
21 }
22}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
SCR_ECharacterDeathStatusRelations GetVictimKillerRelation()
SCR_FieldOfViewSettings Attribute