10 [
Attribute(
"0",
desc:
"If true will get target 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_bGetTargetOneCharacterName;
13 [
Attribute(
"0",
desc:
"If true will get target Character name (first, alias and surname) if the entity is a NPC otherwise will get the entity type name eg: Rifleman")]
14 protected bool m_bGetTargetTwoCharacterName;
18 int playerID, firstTargetID, secondTargetID;
19 data.GetParams(playerID, firstTargetID, secondTargetID);
21 string playerName, firstEntityName, secondEntityName;
22 data.GetNotificationTextEntries(playerName, firstEntityName, secondEntityName);
23 if (!GetPlayerName(playerID, playerName) || !GetEditableEntityName(firstTargetID, firstEntityName, m_bGetTargetOneCharacterName) || !GetEditableEntityName(secondTargetID, secondEntityName, m_bGetTargetTwoCharacterName))
26 data.SetNotificationTextEntries(playerName, firstEntityName, secondEntityName);
27 return super.GetText(
data);
33 if (!CanSetPosition(
data))
36 int playerID, firstTargetID;
37 data.GetParams(playerID, firstTargetID);
38 SetPositionDataEditableEntity(firstTargetID,
data);