Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_NotificationPlayerTargetFaction.c
Go to the documentation of this file.
1 
9 {
10 
11  override string GetText(SCR_NotificationData data)
12  {
13  int playerID, factionID;
14  data.GetParams(playerID, factionID);
15 
16  string playerName, factionName;
17  data.GetNotificationTextEntries(playerName, factionName);
18  if (!GetPlayerName(playerID, playerName) || !GetFactionName(factionID, factionName))
19  return string.Empty;
20 
21  data.SetNotificationTextEntries(playerName, factionName);
22  return super.GetText(data);
23  }
24 
25  //~ Sets position to first target
26  override void SetPosition(SCR_NotificationData data)
27  {
28  if (!CanSetPosition(data))
29  return;
30 
31  int playerID;
32  data.GetParams(playerID);
33  SetPositionDataEditablePlayer(playerID, data);
34  }
35 };
SCR_NotificationDisplayData
Definition: SCR_NotificationDisplayData.c:7
SCR_NotificationPlayerTargetFaction
Definition: SCR_NotificationPlayerTargetFaction.c:8
SCR_BaseContainerCustomTitleEnum
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
Definition: SCR_CampaignHintStorage.c:22
ENotification
ENotification
Definition: ENotification.c:4
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