Ok...BIG problem with custom menu...Chris, anyone, please help!...


[ Follow Ups ] [ Post Followup ] [ Awesome Software Online Message Board ] [ FAQ ]

Posted by Spyder 63.64.161.173 using Mozilla/4.0 (compatible; MSIE 5.0; Windows 95; DigExt) on March 28, 2000 at 21:33:07:

I'm trying to display the stats of the characters on my menu. The only problem is they always come up as 0, no matter who is in whichever slot. I even tried it with a person in each slot. Anyway, heres the part that displays the stats, if someone could take a look at it and maybe figure out what's wrong, I'd really appreciate it.

#Method Showchar()
{
#FontSize(8)
#GetLevel("<[level]!>",lev0!)
#GetLevel("<[level]!>",lev1!)
#GetLevel("<[level]!>",lev2!)
#GetLevel("<[level]!>",lev3!)
#GetLevel("<[level]!>",lev4!)
#GetMaxHP("<[maxhealth]!>",mhp0!)
#GetMaxHP("<[maxhealth]!>",mhp1!)
#GetMaxHP("<[maxhealth]!>",mhp2!)
#GetMaxHP("<[maxhealth]!>",mhp3!)
#GetMaxHP("<[maxhealth]!>",mhp4!)
#GetHP("<[health]!>",hp0!)
#GetHP("<[health]!>",hp1!)
#GetHP("<[health]!>",hp2!)
#GetHP("<[health]!>",hp3!)
#GetHP("<[health]!>",hp4!)
#GetMaxSMP("<[maxsm]!>",msp0!)
#GetMaxSMP("<[maxsm]!>",msp1!)
#GetMaxSMP("<[maxsm]!>",msp2!)
#GetMaxSMP("<[maxsm]!>",msp3!)
#GetMaxSMP("<[maxsm]!>",msp4!)
#GetSMP("<[smpower]!>",sp0!)
#GetSMP("<[smpower]!>",sp1!)
#GetSMP("<[smpower]!>",sp2!)
#GetSMP("<[smpower]!>",sp3!)
#GetSMP("<[smpower]!>",sp4!)
#GetFP("<[fight]!>",fp0!)
#GetFP("<[fight]!>",fp1!)
#GetFP("<[fight]!>",fp2!)
#GetFP("<[fight]!>",fp3!)
#GetFP("<[fight]!>",fp4!)
#GetDP("<[defense]!>",dp0!)
#GetDP("<[defense]!>",dp1!)
#GetDP("<[defense]!>",dp2!)
#GetDP("<[defense]!>",dp3!)
#GetDP("<[defense]!>",dp4!)
#Color(3)
#Text(charx!,5,"Name: ")
#Text(charx!,6,"Class: ")
#Text(charx!,7,"Level: ")
#Text(charx!,8,"HP: / SP: /")
#Text(charx!,9,"FP: DP: ")

#Text(charx!,12,"Name: ")
#Text(charx!,13,"Class: ")
#Text(charx!,14,"Level: ")
#Text(charx!,15,"HP: / SP: /")
#Text(charx!,16,"FP: DP: ")

#Text(charx!,19,"Name: ")
#Text(charx!,20,"Class: ")
#Text(charx!,21,"Level: ")
#Text(charx!,22,"HP: / SP: /")
#Text(charx!,23,"FP: DP: ")

#Text(charx!,26,"Name: ")
#Text(charx!,27,"Class: ")
#Text(charx!,28,"Level: ")
#Text(charx!,29,"HP: / SP: /")
#Text(charx!,30,"FP: DP: ")

#Text(charx!,33,"Name: ")
#Text(charx!,34,"Class: ")
#Text(charx!,35,"Level: ")
#Text(charx!,36,"HP: / SP: /")
#Text(charx!,37,"FP: DP: ")
#FontSize(10)
}

Thanks in advance!
SPYDER



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Awesome Software Online Message Board ] [ FAQ ]