ok I'm trying to make it store what I choose into a variable...
for instance
var/R=input(usr,"Which person do you want to be the chief of your town?") in list("Goonie","Tralla","Eqo","Unter","Rontti")
then after that I put ...
character = new /mob/pc/Snow_Lords(usr.loc)
character.general=R
and then I call
spawn()
character.General()
and here's General...
mob/pc/General()
if(src.general=="Goonie")
world<<"A"
but when I pick Goonie in game it doesn't show A on the screen which is making me think if R equals anything...
ID:266686
![]() May 21 2002, 12:39 pm
|
|
ok some problem around here...
Because it is assigning R to character.general because it shows up in statpanel... but then when I call spawn() character.General()... mob/proc/General() if(src.general=="Goonie") world<<"A" this isn't working... someone help me out here! hehe :P |
I respect that you have a problem. I hope you get help. However, after two posts, I think it is time to mention the edit button. New information is nice, but there is a point where new posts become bumps. (I apologize for not including a solution in this post.)
|
I have it right after I do all that transfer me to the mob that it created... But that shouldn't pose a problem..