ID:170603
Jan 4 2005, 10:24 am
|
|
I need help defining the variable for my races. Could anyone help?
|
In response to SSJ Radditz
|
|
By races, I mean different uh, races, like man, dwarf, elf, etc., so that when the usr logs in, they are prompted to choose one of these races. I tried using
mob var race man dwarf etc... But it still came up with usr.race: undefined var. |
In response to Seraphrevan
|
|
Use a list?
mob/var/list/races = list("Q-Hero","Q-Master") |
In response to Hell Ramen
|
|
Thanks! It worked! I owe you.
|
In response to Seraphrevan
|
|
Nah, no need to thank me.
|
In response to Hell Ramen
|
|
and like if i do a dbz game and i alredy got this:
mob Login() usr.icon_state = input("What gender?") in list ("male","female") usr.Move(locate(1,1,1)) where do i put in those lines? and where shood i put the pictures? |
I'm not quite sure what you mean. That's one way to define a variable, but I may be totally off from what you're looking for.