obj
overlayers
Chidori
icon='Chidori.dmi'
icon_state="gui"
Click()
usr.Chidori()
im havin trouble making this excute a verb that i have in my game(in this case a chidori verb). i want it when u click the image that it excutes the verb.
ID:159394
![]() Mar 18 2009, 2:05 pm
|
|
obj im havin trouble making this excute a verb that i have in my game(in this case a chidori verb). i want it when u click the image that it excutes the verb. |
![]() Mar 18 2009, 2:09 pm
|
|
Verb pl0x?
|
mob/verb/Chidori() thats the verb |
Seems like it should work fine. Add some debug messages to the Click() and the verb; one of those if()s may be returning before anything actually happens. Or you may not actually be clicking on whatever the obj is.
Also, that first else in the Chidori verb is pointless. And if you only want it to be activated by clicking an object, I'd make it a proc instead of a verb. EDIT: After a quick test; it seems you can't click objects which are in overlays. Assuming you're adding that to overlays (since its an obj/overlays/) that would be the problem. |