Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_VONMenuActiveActionCondition.c
Go to the documentation of this file.
1
4{
6
7 //------------------------------------------------------------------------------------------------
9 {
10 if (!m_RadialMenu)
11 {
12 SCR_VONController vonController = SCR_VONController.Cast(GetGame().GetPlayerController().FindComponent(SCR_VONController));
13 if (vonController && vonController.GetVONMenu())
14 m_RadialMenu = vonController.GetVONMenu().GetRadialMenu();
15
16 if (!m_RadialMenu)
17 return GetReturnResult(false);
18 }
19
20 return GetReturnResult(m_RadialMenu.IsOpened());
21 }
22}
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!")
A single available action condition representation.
Returns true if VON Menu is active.
override bool IsAvailable(notnull SCR_AvailableActionsConditionData data)
proto external PlayerController GetPlayerController()