When I compile my code, I get 0 errors but 3 warnings! They're not effecting the game but they scare me!They look like this:
CharacterSaving.dm:68:= :warning: prompt([usr],title,default,message) is being phased out; please convert to input([usr],message,title,default)
CharacterSaving.dm:103:= :warning: prompt([usr],title,default,message) is being phased out; please convert to input([usr],message,title,default)
CharacterSaving.dm:122:= :warning: prompt([usr],title,default,message) is being phased out; please convert to input([usr],message,title,default)
Should I post the code? Any help would be appreciated!
Thanks,
Giser
ID:151201
![]() Feb 19 2001, 7:32 pm
|
|
Just change any line that says
prompt("Message") in list
to
input("Message") in list
Essentially, the order is slightly different, but if you don't use the more advanced options, then it doesn't really apply to you.
If you use a default,
prompt("Message","yes") in list("yes","no")
change it to
input("Message",,"yes") in list("yes","no") //note the extra comma
That's all.