9 [
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")]
10 protected bool m_bGetCharacterName;
15 data.GetParams(entityID);
18 data.GetNotificationTextEntries(entityName);
19 if (!GetEditableEntityName(entityID, entityName, m_bGetCharacterName))
22 data.SetNotificationTextEntries(entityName);
23 return super.GetText(
data);
28 if (!CanSetPosition(
data))
32 data.GetParams(entityID);
34 SetPositionDataEditableEntity(entityID,
data);
40 data.GetParams(entityID);
41 data.SetFactionRelatedColor(GetFactionRelatedColorEntity(entityID, m_info.GetNotificationColor()));
45 if (coloredTextUiInfo)
46 data.SetFactionRelatedTextColor(GetFactionRelatedColorEntity(entityID, coloredTextUiInfo.GetNotificationTextColor()));