Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_NotificationPlayerTargetTwoFactions.c
Go to the documentation of this file.
1
7
[
BaseContainerProps
(),
SCR_BaseContainerCustomTitleEnum
(
ENotification
,
"m_NotificationKey"
)]
8
class
SCR_NotificationPlayerTargetTwoFactions
:
SCR_NotificationPlayerTargetFaction
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
ENotification
Definition
ENotification.c:5
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
GetFactionName
string GetFactionName()
Definition
SCR_AIGroup.c:5017
GetText
string GetText()
Definition
SCR_BaseEditorAttribute.c:488
SCR_BaseContainerCustomTitleEnum
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
Definition
SCR_CampaignHintStorage.c:22
data
Get all prefabs that have the spawner data
Definition
SCR_EntityCatalogManagerComponent.c:320
SCR_NotificationData
Definition
SCR_NotificationData.c:7
SCR_NotificationDisplayData::GetPlayerName
bool GetPlayerName(int playerID, out string playerName)
Definition
SCR_NotificationDisplayData.c:160
SCR_NotificationPlayerTargetFaction
Definition
SCR_NotificationPlayerTargetFaction.c:9
SCR_NotificationPlayerTargetTwoFactions
Definition
SCR_NotificationPlayerTargetTwoFactions.c:9
scripts
Game
Network
Notifications
NotificationDisplayData
SCR_NotificationPlayerTargetTwoFactions.c
Generated by
1.17.0