ID:178963
 
im building a game but i dont know how to enter stats
i want the characters to have:
name
lvl
hp
mp
gp

Please help me ¤_¤
do you have the variables done?
In response to Thief Jack
if he doesn't say yes, let's all just ignore him, since he obviously hasn't read one tutorial.
In response to Airson
im just starting guys please could you tell me how please?!?!?!?!?!?(And i have read sevral i just dont undeerstand them, i even got the book)
In response to Redslash
Hey Airson, back off. You were a newbie too. Red guy you can start by reading ZBT in the tutorial section. It is fit with many descriptions. Also if you hit F1 in dream maker there is a helpfile. You can look up Stat() and any other built in vars and procs. Good luck on the start.

--Nathan
In response to Redslash
Ok look ill give u the stat panel but figure out howto create the vars yourself


Stat()
statpanel("Status")
stat("Name: [src]")
stat("Health: [HP]/[MaxHp]")
stat("Gold: [Gold]")
stat("Strength: [Str]")
stat("Defense: [Def]")
stat("Level: [Level]")
stat("Exp: [Exp]/[ExpNeed]")
statpanel("Inventory") //MAkes a new stat panel called inventory
stat(contents) //this is where the contents will go

In response to Super16
thanx guys!<(^_^)>
guys theres still a prob, i put this in:

var
hp = 25
mp = 00
lvl = 1
Stat()
statpanel("stats")
stat(name[src])
stat(lvl)
stat(hp)
stat(mp)

under my character and it gave me this:

runtime error: bad index
proc name: Login (/mob/create_character/Login)
usr: Redslash (/mob/create_character)
src: Redslash (/mob/create_character)
call stack:
Redslash (/mob/create_character): Login()
In response to Redslash
do it exactly like mine
You may want to check out Nadrew's Leveling system.