Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_NotificationEditableEntity.c
Go to the documentation of this file.
1 
8 {
9  [Attribute("0", desc: "If true will get Character name (first, alias and surname) if the entity is a NPC otherwise will get the entity type name eg: Rifleman")]
10  protected bool m_bGetCharacterName;
11 
12  override string GetText(SCR_NotificationData data)
13  {
14  int entityID;
15  data.GetParams(entityID);
16 
17  string entityName;
18  data.GetNotificationTextEntries(entityName);
19  if (!GetEditableEntityName(entityID, entityName, m_bGetCharacterName))
20  return string.Empty;
21 
22  data.SetNotificationTextEntries(entityName);
23  return super.GetText(data);
24  }
25 
26  override void SetPosition(SCR_NotificationData data)
27  {
28  if (!CanSetPosition(data))
29  return;
30 
31  int entityID;
32  data.GetParams(entityID);
33 
34  SetPositionDataEditableEntity(entityID, data);
35  }
36 
37  override void SetFactionRelatedColor(SCR_NotificationData data)
38  {
39  int entityID;
40  data.GetParams(entityID);
41  data.SetFactionRelatedColor(GetFactionRelatedColorEntity(entityID, m_info.GetNotificationColor()));
42 
44 
45  if (coloredTextUiInfo)
46  data.SetFactionRelatedTextColor(GetFactionRelatedColorEntity(entityID, coloredTextUiInfo.GetNotificationTextColor()));
47  }
48 };
SCR_NotificationEditableEntity
Definition: SCR_NotificationEditableEntity.c:7
SCR_NotificationDisplayData
Definition: SCR_NotificationDisplayData.c:7
SCR_BaseContainerCustomTitleEnum
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
Definition: SCR_CampaignHintStorage.c:22
SCR_ColoredTextNotificationUIInfo
Definition: SCR_ColoredTextNotificationUIInfo.c:2
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition: SCR_RespawnBriefingComponent.c:17
ENotification
ENotification
Definition: ENotification.c:4
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_NotificationData
Definition: SCR_NotificationData.c:6
data
Get all prefabs that have the spawner data
Definition: SCR_EntityCatalogManagerComponent.c:305
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