im trying to figure out how to make a face icon on the top left screen such as world of war craft... or last chaos... it show's your usr icon face then next to it is ur hp and mana.. which i already got thoughs just not the face
ID:157709
Jan 15 2010, 3:40 pm
|
|
Jan 15 2010, 6:56 pm
|
|
You do it exactly like you did for the HP and MANA, but for the face. Same concept.
|
In response to Ruben7
|
|
mob
Stat() src.GetWidth() src.Check() winset(src,"stats.health","size=[src.health_width]x16; text=[src.health]") winset(src,"stats.mana","size=[src.mana_width]x16; text=[src.mana]") winset(src,"stats.exp","size=[src.exp_width]x16;text=[src.ex p]") ..() mob/proc WidthTotal() width_total=winget(src,"default.stats","size") width_total=text2num(copytext(width_total,1,findtext(width_t otal,"x"))) GetWidth() health_width=src.health * width_total / src.mhealth mana_width=src.mana * width_total / src.Mmana exp_width=src.exp * width_total/src.maxexp if(health_width<1) health_width=1 if(mana_width<1) mana_width=1 if(exp_width<1) exp_width=1 Check() if(src.health>=src.mhealth) src.health=src.mhealth if(src.mana>=src.Mmana) src.mana=src.Mmana if(src.exp>=src.maxexp) src.exp=src.maxexp if(src.health<0) src.health=0 if(src.mana<0) src.mana=0 if(src.exp<0) src.exp=0 mob/var width_total health_width mana_width exp_width mob/Login() src.WidthTotal() ..() where would i fit the face...???? |
In response to Kawasakitommy
|
|