//////////////////////////////////////////////////////////////////////////////// // // Olander's Player Stat's // opw_conv_death // By:Don Anderson // dandersonru@msn.com // // This is called from the Rest Menu // //////////////////////////////////////////////////////////////////////////////// #include "nbde_inc" #include "opw_inc_pstat" void main() { object oPC = GetPCSpeaker(); //Name of Player Character string sPC = GetName(oPC); DelayCommand(1.0,FloatingTextStringOnCreature(BLUISHG+"Stats for "+BLUISHR+sPC,oPC,FALSE)); DelayCommand(1.5,FloatingTextStringOnCreature("",oPC,FALSE)); //Player Character Number of Times Died string sTimesDied = GetTotalDeaths(oPC); DelayCommand(2.0,FloatingTextStringOnCreature(GRAY+"Total Deaths: "+WHITE+sTimesDied,oPC,FALSE)); //Player Character Number of Lifes Left string sLifes = GetTotalLifes(oPC); DelayCommand(2.0,FloatingTextStringOnCreature(GRAY+"Lifes Left: "+WHITE+sLifes,oPC,FALSE)); //Player Character Death Info string sLastCreatureKiller = GetCreatureKiller(oPC); string sLastPCKiller = GetPCKiller(oPC); DelayCommand(3.0,FloatingTextStringOnCreature(GRAY+"Last Creature Killed By: "+RED+sLastCreatureKiller,oPC,FALSE)); DelayCommand(4.0,FloatingTextStringOnCreature(GRAY+"Last PC Killed By: "+RED+sLastPCKiller,oPC,FALSE)); }