man i gatta be the worst coder EVER!
well heres my problem.
mob
login
if(src.key == "Redslash")
switch(input("What char Sire?")in list("Geomancer","FighterMage","Troop")
if("Geomancer")
character = new /mob/RSsGeomancer(locate(/area/start))
if("FighterMage")
character = new /mob/RSsFighterMage(locate(/area/start))
if("Troop")
character = new /mob/RSsTroop(locate(/area/start))
loading Final Fantasy.dme
Final Fantasy.dm:154:error: if: missing comma ',' or right-paren ')'
Final Fantasy.dme:19:error: unbalanced }
Final Fantasy.dmb - 2 errors, 0 warnings (double-click on an error to jump to it)
ID:178457
May 10 2002, 6:38 am
|
|
In response to Sariat
|
|
Sariat wrote:
mob/Login() That would not have caused a compile error. It was a missing parenthesis. |
In response to Skysaw
|
|
...more help please....
mob/Login() if(src.key == "Redslash") switch(input("What char Sire?")in list("Geomancer","FighterMage","Troop")) if("Geomancer") character = new /mob/RSsGeomancer(locate(/area/start)) if("FighterMage") character = new /mob/RSsFighterMage(locate(/area/start)) if("Troop") character = new /mob/RSsTroop(locate(/area/start)) loading Final Fantasy.dme Final Fantasy.dm:154:error:character:undefined var Final Fantasy.dm:156:error:character:undefined var Final Fantasy.dm:158:error:character:undefined var Final Fantasy.dmb - 3 errors, 0 warnings (double-click on an error to jump to it) |
In response to Redslash
|
|
Redslash wrote:
...more help please.... mob/Login() You needed a "var" to define your undefined character error. --Lee |
In response to Mellifluous
|
|
Thank you Lee! your code worked!
|
In response to Redslash
|
|
Redslash wrote:
Thank you Lee! your code worked! ^_^ Glad to have helped you mate. --Lee |
You were missing a close paren.