What does this mean?? Gives me this error on the following line..
if(gender == "Female")
ID:180057
Sep 3 2001, 8:02 am
|
|
Sep 3 2001, 8:03 am
|
|
What is around that line?
|
In response to Vortezz
|
|
Vortezz wrote:
What is around that line? switch(char_gen) if(gender == "Female") switch(char_fclass) if ("Warrior") new_mob = new /mob/fwarrior() if ("Monk") new_mob = new /mob/fmonk() if ("Thief") new_mob = new /mob/fthief() if ("Cleric") new_mob = new /mob/cleric() |
In response to Oblivian
|
|
Oblivian wrote:
Vortezz wrote: In a switch statement, it cant take arguments. So basically, this is a valid switch statement. switch(src.attacking) if(1) return if(0) return this is NOT a valid switch statement switch(src) if(attacking==1) // CONSTANT expression return if(attacking==0) // You get it? return Im gonna let you figure out how to redo it. Alathon |
In response to Alathon
|
|
Alathon wrote:
Oblivian wrote: alright thanx. |