Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkActionDeleteMarker.c
Go to the documentation of this file.
3{
4 [Attribute(desc: "SlotMarker from which the Marker is to be deleted (Optional if action is attached on target SlotMarker)")]
6
7 //------------------------------------------------------------------------------------------------
8 override void OnActivate(IEntity object)
9 {
10 if (!CanActivate())
11 return;
12
13 IEntity entity;
14 if (!ValidateInputEntity(object, m_Getter, entity))
15 return;
16
17 SCR_ScenarioFrameworkSlotMarker slotMarker = SCR_ScenarioFrameworkSlotMarker.Cast(entity.FindComponent(SCR_ScenarioFrameworkSlotMarker));
18 if (!slotMarker)
19 return;
20
21 slotMarker.RemoveMapMarker();
22 }
23}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
override void OnActivate()
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
proto external Managed FindComponent(typename typeName)
SCR_FieldOfViewSettings Attribute