![]() Aug 13 2005, 3:57 pm
In response to JRR-Zero
|
|
What line is line 26?
|
mob
verb Start_BudoKai(var/mob/M) set category="Gm" for(M as mob in world) M.verbs+=/obj/verbstoragestuff/verb/Join_Budo() Stop_BudoKai(var/mob/M) set category="Gm" for(M as mob in world) M.verbs-=/obj/verbstoragestuff/verb/Join_Budo() Invite_BudoKai(var/mob/M in world) set category="Gm" M<<alert("","Join BudoKai?","Yes","No") if("Yes") M.loc=locate(164,46,2) usr<<"[M] accepted!" if ("No") usr<<"[M] declined." obj verbstoragestuff/verb/Join_Budo() set category="BudoKi" usr<<alert("Are you sure?","Join BudoKai?","Yes","No") if ("Yes") usr.loc=locate(164,46,2) theres the code im going 2 put it in code probs now |
They mean...
When you create an if statement, everything you only want to run under the if statement has to be indented fether than the if statement, like the following if(blah) Also...
Just to tell you, its spelt Budokai, its Japanese. |
thanks but there r 2 warning in the code u gave me on code probs
budu.dm:6:/obj/verbstoragestuff/verb/Join_Budo:warning: use call() to call a proc by reference budu.dm:11:/obj/verbstoragestuff/verb/Join_Budo:warning: use call() to call a proc by reference loading Map.dmp saving DragonBall No Return.dmb (DEBUG mode) DragonBall No Return.dmb - 0 errors, 2 warnings (double-click on an error to jump to it) |
Here. Code fixed.
mob |
You missed something.
He has it as for(M as mob in world) should be: for(M as mob in world) You forgot to mention he has to indent the line (if pertaining to the for() statement) after it. |