1
Suggestions & Requests / Re: Animated HUD.
« on: October 31, 2018, 10:17:27 AM »longtime nosee xenos
These forums are a boredom magnet
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
longtime nosee xenos
%healthBitmap = "";
switch(mFloor(%health / 20))
{
case 5: %healthBitmap = "<bitmap:Add-Ons/server_totalrpg/100%health>"; break;
case 4: %healthBitmap = "<bitmap:Add-Ons/server_totalrpg/80%health>"; break;
case 3: %healthBitmap = "<bitmap:Add-Ons/server_totalrpg/60%health>"; break;
case 2: %healthBitmap = "<bitmap:Add-Ons/server_totalrpg/40%health>"; break;
case 1: %healthBitmap = "<bitmap:Add-Ons/server_totalrpg/20%health>"; break;
default: %healthBitmap = "Dead";
}
commandToClient(%client, 'bottomPrint', ... %healthBitmap ... );
<just:left>Fair Enough
"<just:center>Words"
How would I close said bracket, i don't want the rest of everything in the center
%obj.playAudio(0, StartupSound);
%obj.schedule(500, 0, "playAudio", 0, ShutdownSound);
This should work i believe.
so that other addons can package over your bottomPrint if they need to