Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_NotificationNumber.c
Go to the documentation of this file.
1 
9 {
10  [Attribute(defvalue: "1", params: "1 1000", desc: "The m_iNumberDivider allows for floats as this system only works with ints. So Giving the param float value * x and dividing x here again")]
11  protected int m_iNumberDivider;
12 
13  override string GetText(SCR_NotificationData data)
14  {
15  int param1, param2, param3, param4, param5;
16  data.GetParams(param1, param2, param3, param4, param5);
17 
18  float display1 = param1;
19  display1 = param1 / m_iNumberDivider;
20 
21  float display2 = param2;
22  display2 = param2 / m_iNumberDivider;
23 
24  float display3 = param3;
25  display3 = param3 / m_iNumberDivider;
26 
27  float display4 = param4;
28  display4 = param4 / m_iNumberDivider;
29 
30  float display5 = param5;
31  display5 = param5 / m_iNumberDivider;
32 
33  data.SetNotificationTextEntries(display1.ToString(), display2.ToString(), display3.ToString(), display4.ToString(), display5.ToString());
34  return super.GetText(data);
35  }
36 };
SCR_NotificationDisplayData
Definition: SCR_NotificationDisplayData.c:7
SCR_NotificationNumber
Definition: SCR_NotificationNumber.c:8
SCR_BaseContainerCustomTitleEnum
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
Definition: SCR_CampaignHintStorage.c:22
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
params
Configs ServerBrowser KickDialogs params
Definition: SCR_NotificationSenderComponent.c:24
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