Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
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};
ENotification
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
string GetFactionName()
string GetText()
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
Get all prefabs that have the spawner data
bool GetPlayerName(int playerID, out string playerName)