Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_WaypointIndexTooltipDetail.c
Go to the documentation of this file.
3 {
4  protected TextWidget m_Text;
5 
6  //------------------------------------------------------------------------------------------------
7  override void UpdateDetail(SCR_EditableEntityComponent entity)
8  {
9  int index;
10  SCR_EditableWaypointComponent waypoint = SCR_EditableWaypointComponent.Cast(entity);
11  if (waypoint)
12  index = waypoint.GetWaypointIndex();
13 
14  m_Text.SetText(index.ToString());
15  }
16 
17  //------------------------------------------------------------------------------------------------
18  override bool InitDetail(SCR_EditableEntityComponent entity, Widget widget)
19  {
20  m_Text = TextWidget.Cast(widget);
21  return m_Text != null && entity.GetEntityType() == EEditableEntityType.WAYPOINT;
22  }
23 }
BaseContainerCustomTitleField
class SCR_KeyBindingFilter BaseContainerCustomTitleField("m_sBindString")
Definition: SCR_KeyBindingMenuConfig.c:113
SCR_WaypointIndexTooltipDetail
Definition: SCR_WaypointIndexTooltipDetail.c:2
EEditableEntityType
EEditableEntityType
Defines type of SCR_EditableEntityComponent. Assigned automatically based on IEntity inheritance.
Definition: EEditableEntityType.c:5
SCR_EntityTooltipDetail
Definition: SCR_EntityTooltipDetail.c:2
SCR_EditableEntityComponent
Definition: SCR_EditableEntityComponent.c:13
index
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
Definition: SCR_DestructionSynchronizationComponent.c:17
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