Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_GridTooltipDetail.c
Go to the documentation of this file.
3 {
4  protected TextWidget m_Text;
5  protected SCR_MapEntity m_Map;
6 
7  //------------------------------------------------------------------------------------------------
8  override void UpdateDetail(SCR_EditableEntityComponent entity)
9  {
10  vector pos;
11  if (entity.GetPos(pos))
12  m_Text.SetText(m_Map.GetGridLabel(pos));
13  }
14 
15  //------------------------------------------------------------------------------------------------
16  override bool InitDetail(SCR_EditableEntityComponent entity, Widget widget)
17  {
18  m_Text = TextWidget.Cast(widget);
19  m_Map = SCR_MapEntity.GetMapInstance();
20  return m_Text && m_Map;
21  }
22 }
SCR_MapGridTooltipDetail
Definition: SCR_GridTooltipDetail.c:2
BaseContainerCustomTitleField
class SCR_KeyBindingFilter BaseContainerCustomTitleField("m_sBindString")
Definition: SCR_KeyBindingMenuConfig.c:113
SCR_MapEntity
Map entity.
Definition: SCR_MapEntity.c:20
SCR_EntityTooltipDetail
Definition: SCR_EntityTooltipDetail.c:2
SCR_EditableEntityComponent
Definition: SCR_EditableEntityComponent.c:13
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition: SCR_AIGoalReaction.c:468