Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_NotificationPlayerTargetTwoFactions.c
Go to the documentation of this file.
1 
9 {
10 
11  override string GetText(SCR_NotificationData data)
12  {
13  int playerID, firstFactionIndex, secondFactionIndex;
14  data.GetParams(playerID, firstFactionIndex, secondFactionIndex);
15 
16  string playerName, firstFactionName, secondFactionName;
17  data.GetNotificationTextEntries(playerName, firstFactionName, secondFactionName);
18  if (!GetPlayerName(playerID, playerName) || !GetFactionName(firstFactionIndex, firstFactionName) || !GetFactionName(secondFactionIndex, secondFactionName))
19  return string.Empty;
20 
21  data.SetNotificationTextEntries(playerName, firstFactionName, secondFactionName);
22  return super.GetText(data);
23  }
24 };
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
SCR_NotificationPlayerTargetTwoFactions
Definition: SCR_NotificationPlayerTargetTwoFactions.c:8
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