Just a little confused on how this works to send a message about a players death. I know that it refers to a Message Class for its first parameter, then the related players PRIs but how does it add their name into the killed string? In most of the message classes (ex Warfare) it doesn't have the PlayerName Picked up the orb! messages, so i can't look at those, and others just refer to them in the broadcast function as MessageClass and i'm not quite sure where to look for that.
Heres the function if anybody wants them:
I just can't figure out how it puts the Player names in certain places. In BattleTeamArena they put MessageText(1) = "Now viewing `1" in the defaults but where is that called? Do i just put the string in an array and put `1 for RelatedPRI_1?
Sorry if that was confusing, but its a little hard to explain. Thanks in advance!
-Phoenix
Heres the function if anybody wants them:
Code:
BroadcastLocalizedMessage( class<LocalMessage> MessageClass, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject )
I just can't figure out how it puts the Player names in certain places. In BattleTeamArena they put MessageText(1) = "Now viewing `1" in the defaults but where is that called? Do i just put the string in an array and put `1 for RelatedPRI_1?
Sorry if that was confusing, but its a little hard to explain. Thanks in advance!
-Phoenix
Last edited: