I forget whose tutorial I used, I started this some time ago, but it started flooding me with errors.
mob/Stat() statpanel("Stats") stat("Health",src.health_meter) stat("Armor",src.mana_meter) src.Update(src)<b> src.health_meter.num = (src.HP/src.MHP)*src.health_meter.width</b> src.mana_meter.num = (src.MP/src.MMP)*src.mana_meter.width src.health_meter.Update() src.mana_meter.Update() src.health_meter.name = "[src.HP]/[src.MHP]" src.mana_meter.name = "[src.MP]/[src.MMP]" statpanel("Inventory",src.contents)
runtime error: Undefined operation proc name: Stat (/mob/Stat) source file: Stats.dm,6 usr: Enigmaster2002 (/mob/other/choosing_character) src: Enigmaster2002 (/mob/other/choosing_character) call stack: Enigmaster2002 (/mob/other/choosing_character): Stat()
|