Blockland Forums > Modification Help
Kill Icon String on Death
<< < (5/5)
Uristqwerty:
export("*") shows a number of interesting globals. For now, look at $DeathMessage_Murder1. Notice that it shows up as \c045 or something similar. That is actually the output of expandEscape(), converting a colour code into \c0, and a tagged string into 45.

dumpConsoleFunctions() reveals

   virtual string getTaggedString(int tag) {}
   virtual string buildTaggedString(string format, ...) {}

The first one would get the raw text, the second would get a proper death message if you also give it the two player names as extra parameters.


There is probably a Very Good Reason that the server sends the player names seperately, though... (I would guess that network efficiency is at least part of it)
Navigation
Message Index
Previous page

Go to full version