ID:176712
![]() Dec 17 2002, 7:03 pm
|
|
How can i have a verb in a stat panal? Thanks for any one who answers :-)
|
Garthor wrote:
obj Just to clear up what that does. In short it creates a button (/obj/attackVerb), which calls usr.Attack() when clicked. Then it places that button inside the stat panel. -DogMan |
attackVerb
Click()
usr.Attack()
mob
var/obj/attackVerb
New()
attackVerb = new /obj/attackVerb
Stat()
stat( usr.attackVerb )