ID:150865
 
Well, its been awhile since i asked for code help, but, im still alive, just to relive your worries =), well, i have some kind of problem with my stat code, i dont know why its workin, here 'tis

mob/Stat()
statpanel("Stats")
stat("Current Health",HP)
stat("Maximum Health",Max_HP)
statpanel("Inventory",contents)

it wont show the current health, unless its under 0 , which makes them negative, and the maxium health dont show up (the numbers)

Also, how can i make a mob that is two tiles big?


On 7/14/01 1:00 pm Sariat wrote:
Well, its been awhile since i asked for code help, but, im still alive, just to relive your worries =), well, i have some kind of problem with my stat code, i dont know why its workin, here 'tis

mob/Stat()
statpanel("Stats")
stat("Current Health",HP)
stat("Maximum Health",Max_HP)
statpanel("Inventory",contents)

it wont show the current health, unless its under 0 , which makes them negative, and the maxium health dont show up (the numbers)

Also, how can i make a mob that is two tiles big?


You need this in your code

mob
var
HP=whatever
Max_HP=Whatever

Well your stat code needs Vars so this would do:

mob


In response to Nadrew
On 7/14/01 1:27 pm Nadrew wrote:
On 7/14/01 1:00 pm Sariat wrote:
Well, its been awhile since i asked for code help, but, im still alive, just to relive your worries =), well, i have some kind of problem with my stat code, i dont know why its workin, here 'tis

mob/Stat()
statpanel("Stats")
stat("Current Health",HP)
stat("Maximum Health",Max_HP)
statpanel("Inventory",contents)

it wont show the current health, unless its under 0 , which makes them negative, and the maxium health dont show up (the numbers)

Also, how can i make a mob that is two tiles big?


You need this in your code

mob
var
HP=whatever
Max_HP=Whatever

Well your stat code needs Vars so this would do:

mob

Nadrew, i know i have to have those variables, thats why they were the first thing i put in.......im not some newbie........or am i.......*twilight zone music*

Legal Discliamer : Sariat has not and never was a part of the twilight zone, he is just a fan who likes the song, there-by, making a parody of it to implement his joke.
In response to Sariat
On 7/14/01 1:50 pm Sariat wrote:
On 7/14/01 1:27 pm Nadrew wrote:
On 7/14/01 1:00 pm Sariat wrote:
Well, its been awhile since i asked for code help, but, im still alive, just to relive your worries =), well, i have some kind of problem with my stat code, i dont know why its workin, here 'tis

mob/Stat()
statpanel("Stats")
stat("Current Health",HP)
stat("Maximum Health",Max_HP)
statpanel("Inventory",contents)

it wont show the current health, unless its under 0 , which makes them negative, and the maxium health dont show up (the numbers)

Also, how can i make a mob that is two tiles big?


You need this in your code

mob
var
HP=whatever
Max_HP=Whatever

Well your stat code needs Vars so this would do:

mob

Nadrew, i know i have to have those variables, thats why they were the first thing i put in.......im not some newbie........or am i.......*twilight zone music*

Legal Discliamer : Sariat has not and never was a part of the twilight zone, he is just a fan who likes the song, there-by, making a parody of it to implement his joke.


I know that was my older bro on my name he wants to learn to (but he thinks he already knows it all)
In response to Nadrew
I know that was my older bro on my name he wants to learn to (but he thinks he already knows it all)

Nadrew, don't even.
On 7/14/01 1:00 pm Sariat wrote:
Well, its been awhile since i asked for code help, but, im still alive, just to relive your worries =), well, i have some kind of problem with my stat code, i dont know why its workin, here 'tis

mob/Stat()
statpanel("Stats")
stat("Current Health",HP)
stat("Maximum Health",Max_HP)
statpanel("Inventory",contents)

it wont show the current health, unless its under 0 , which makes them negative, and the maxium health dont show up (the numbers)

Based on the symptoms you're describing, it certainly sounds like you did forget to set the initial HP equal to anything. I'd go double-check.
In response to LexyBitch
On 7/15/01 7:10 am LexyBitch wrote:
I know that was my older bro on my name he wants to learn to (but he thinks he already knows it all)

Nadrew, don't even.

Don't even what
In response to Nadrew
On 7/15/01 8:37 am Nadrew wrote:
On 7/15/01 7:10 am LexyBitch wrote:
I know that was my older bro on my name he wants to learn to (but he thinks he already knows it all)

Nadrew, don't even.

Don't even what

Change your password, make him register his own name (it's free so no excuses) and never claim someone else was using your key again.