Let's say I have this proc:
mob/proc/Light1(mob/M as mob in view(5))
set hidden = 1
//rest of code here...
Now, I want this object to call that verb when I click on it.
obj/blindrock
icon = 'blindrock.dmi'
Click()
... //not sure what to put here...
Any ideas ?
Thx.
ID:179599
Nov 30 2001, 4:22 am
|
|
In response to Skysaw
|
|
Let's say I have this proc: > obj/blindrock However, I don't know what "mob/M as mob in view(5))" is for in that proc. It looks like you want to pass a mob into Light1(), but I don't know who you're trying to pass in or why. It's still having problem calling that proc... Maybe i forgot to say that once the usr gets the blindrock (which is a healing rock, that's why i put a "mob/M as mob in view(5)") there's a usr.verbs+=new/mob/proc/Light1. Since it's hidden, no one can call it with the verb panel. The "verb" works by itself, but the Click() doesn't want to call it. |
sorry, but one thing that bugs me about your post topics is that it is always either some symbols, a letter or two, and a number.
please try to type the problem or question for the topic so we at least know what we are getting into before we click the link. 1 Q isnt a good topic I have a question about mob types is a good topic FIREking |
In response to FIREking
|
|
FIREking wrote:
sorry, but one thing that bugs me about your post topics is that it is always either some symbols, a letter or two, and a number. LoL. Ok, i'll write my full "Q" on the post topic next time. Can you help me with this though ? THX. |
That's a mob's proc, so I assume you want the proc to be called for the person who clicks on the rock. Try this:
However, I don't know what "mob/M as mob in view(5))" is for in that proc. It looks like you want to pass a mob into Light1(), but I don't know who you're trying to pass in or why.