Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ActiveVoNActionCondition.c
Go to the documentation of this file.
1
4{
5 protected SCR_VonDisplay m_VoNDisplay;
6
7 //------------------------------------------------------------------------------------------------
9 {
10 if (!m_VoNDisplay)
11 {
12 PlayerController playerController = GetGame().GetPlayerController();
13
14 if (!playerController)
15 return GetReturnResult(false);
16
17 SCR_VONController voNController = SCR_VONController.Cast(playerController.FindComponent(SCR_VONController));
18
19 if (!voNController)
20 return GetReturnResult(false);
21
22 m_VoNDisplay = voNController.GetDisplay();
23
24 if (!m_VoNDisplay)
25 return GetReturnResult(false);
26 }
27
28 return GetReturnResult(m_VoNDisplay.GetActiveTransmissionsCount() > 0 || m_VoNDisplay.IsCapturingTransmisionActive());
29 }
30}
ArmaReforgerScripted GetGame()
Definition game.c:1398
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Get all prefabs that have the spawner data
class SCR_HitZoneGroupNameHolder BaseContainerCustomStringTitleField("USE INHERITED VERSION ONLY!")
Returns true if VoN UI is active.
override bool IsAvailable(notnull SCR_AvailableActionsConditionData data)
A single available action condition representation.