Author Topic: Kill Feed  (Read 704 times)

I'm looking for someone to make an addon that allows me to use a killed and victim event for onminigamekill to make a killfeed in hte top right corner, i have seen other people use and make them but i am not aware of the addons or VCE events that they used. can anyone help?

looking for something like this

onminigamekill-killfeed-chattext-(killer-id) Killed (victim-id)

There's a client add-on that does exactly this. I'll see if i can upload it later

Code: [Select]
package KillFeed {
function GameConnection::onDeath(%this, %sourceObject, %sourceClient, %damageType, %damLoc, %obj)
{
    announce(%this.name SPC %sourceObject SPC %sourceClient SPC %damageType SPC %obj);
    if(%this.name $= %sourceClient.name)
    {
        announce(%this.name SPC "commit Self Delete! Look at him!"); // Whatever happens when the player Self Deletes
    }
    else
    {
        announce(%this.name SPC "was killed by" SPC %sourceObject.name);
    }
    parent::onDeath(%this, %sourceObject, %sourceClient, %damageType, %damLoc, %obj);
}
};
deactivatepackage(KillFeed);
activatepackage(KillFeed);