Example:
proc/a()
b() //This line is supposedly wrong
mob/proc/b()
world << "Yo!"
ID:142253
![]() Jul 13 2008, 12:01 am (Edited on Jul 13 2008, 12:33 am)
|
|
How would one go about doing that?
Example: proc/a() |
![]() Jul 13 2008, 12:20 am
|
|
So this just gets one random mob? I don't want that (your code didn't work either way).
Is there any other way to make all of the players in the game to run a proc? |
Here's an example...
proc/A() |
You should have if(!M.client) instead of if(!M.key), because some mobs don't have players and still have keys.
Also, Skofo, be sure to read the DM Guide, because you didn't know how to do such a simple thing. |
Naokohiro wrote:
mobs don't have players and still have keys. But those are still player mobs. At any case though, it was just an example. There are many ways to do things. |