Alright I have a few questions and I would like to know if anyone can help me. Ive been working on a small stats mutator, and This is what I have so far. I left out all the properties and junk so that you could see the code Im focusing on. Also, I would like to know how to store record variables into a text file so that I can keep track of people’s stats.
==================================================
local RunePlayer Player;
local string PlayerName;
local float Score;
local float Deaths;
local int HeadKills;
if(Other.IsA(‘RunePlayer’))
{
Player = RunePlayer(Other);
PlayerName = Player.PlayerReplicationInfo.PlayerName;
Score = Player.PlayerReplicationInfo.Score;
Deaths = Player.PlayerReplicationInfo.Deaths;
HeadKills = Player.PlayerReplicationInfo.HeadKills;
BroadcastMessage(" Stats for “$PlayerName$” “);
BroadcastMessage(” Kills: “$Score$” Deaths: “$Deaths$” “);
BroadcastMessage(” Decapitated Enemys: “$HeadKills$” ");
==================================================Now, there are a few things bothering me about it. For one, it is all in default red. Does anyone know how to,
a. make it a runemessage.
b. reposition the text.
c. colorize the text.
The only other thing I really want to change is how when used, Deaths and Score return numbers with a lot of decimal places! Anyways, if anyone has anything to comment on or add, It would be appreciated.
Original thread: https://lowcaliber.com/eve/forums/a/tpc/f/3886011002/m/7406090824