1
2
Aug 13 2005, 2:57 pm
In response to JRR-Zero
|
|
What line is line 26?
|
In response to Crzylme
|
|
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 |
In response to JRR-Zero
|
|
You have to tab under ifs
|
In response to Mecha Destroyer JD
|
|
what ?
|
In response to JRR-Zero
|
|
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. |
In response to Holy Retribution
|
|
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) |
In response to JRR-Zero
|
|
Here. Code fixed.
mob |
In response to Holy Retribution
|
|
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. |
In response to Crzylme
|
|
That is bad. That gives the NPC's the join budokai verb. You should make a /mob/player class, or check if(M.client).
|
1
2