Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_MapHintCondition.c
Go to the documentation of this file.
1[BaseContainerProps(), SCR_BaseContainerHintCondition()]
3{
4 //------------------------------------------------------------------------------------------------
5 override protected void OnInitCondition(Managed owner)
6 {
8 if (mapEntity)
9 {
10 mapEntity.GetOnMapOpen().Insert(OnMapOpen);
11 mapEntity.GetOnMapClose().Insert(OnMapClosed);
12 }
13 }
14
15 //------------------------------------------------------------------------------------------------
16 override protected void OnExitCondition(Managed owner)
17 {
19 if (mapEntity)
20 {
21 mapEntity.GetOnMapOpen().Remove(OnMapOpen);
22 mapEntity.GetOnMapClose().Remove(OnMapClosed);
23 }
24 }
25
26 //------------------------------------------------------------------------------------------------
29 {
30 Activate();
31 }
32
33 //------------------------------------------------------------------------------------------------
36 {
37 Deactivate();
38 }
39}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
static ScriptInvokerBase< MapConfigurationInvoker > GetOnMapClose()
Get on map close invoker.
static ScriptInvokerBase< MapConfigurationInvoker > GetOnMapOpen()
Get on map open invoker.
static SCR_MapEntity GetMapInstance()
Get map entity instance.
void OnMapOpen(MapConfiguration config)
void OnMapClosed(MapConfiguration config)
void OnExitCondition(Managed owner)
void OnInitCondition(Managed owner)