10 [
Attribute(
"0",
desc:
"If true will get Character name (first, alias and surname) if the entity is a NPC otherwise will get the entity type name eg: Rifleman")]
11 protected bool m_bGetCharacterName;
14 protected int m_iNumberDivider;
18 int entityID, param1, param2, param3, param4;
19 data.GetParams(entityID, param1, param2, param3, param4);
21 float display1 = param1;
22 display1 = param1 / m_iNumberDivider;
24 float display2 = param2;
25 display2 = param2 / m_iNumberDivider;
27 float display3 = param3;
28 display3 = param3 / m_iNumberDivider;
30 float display4 = param4;
31 display4 = param4 / m_iNumberDivider;
34 data.GetNotificationTextEntries(entityName);
35 if (!GetEditableEntityName(entityID, entityName, m_bGetCharacterName))
38 data.SetNotificationTextEntries(entityName, display1.ToString(), display2.ToString(), display3.ToString(), display4.ToString());
39 return super.GetText(
data);