it says
code.dm:3:error: stat bad var
code.dm:3:error: expected 1 arg
here is code
mob/avatar/Stat()
statpanel("Grow Part")
stat = "Unused Experience"[src.uexp]
mob/avatar/verb/GrowPart(M as mob in view (0), msg as text)
variable = input("What part do you wish to grow?", "Parts", "Claw")
set category = "Special"
return ..()
what is wrong with it
ID:150148
Dec 6 2001, 2:54 pm
|
|
In response to Nadrew
|
|
See there you go Nadrew another reason to keep your Library:)
|
In response to Darke Rage
|
|
it would help me much more if you would plainly tell me how to code it for I have looked at the leveling system before.
and am now and cannot figure out what you mean. |
In response to Vermolius
|
|
You have "stat=" which makes the compiler think you're trying to use a var, and stat isn't a var it's a proc here's an example of how you do it:
mob/Stat() |
In response to Nadrew
|
|
thanks nandrew I got it,now I need to figure out how prompting the user works :>
|
Look at this to see how to use stats.