Need help with code to punch ... in Developer Help
|
|
Heres what i got. Instead of making a attack verb i'm using dbl click.
DblClick(mob in oview(1))
usr << "They are [src]"
usr.icon_state = "[usr]_punch"
step_away(src,usr,3)
spawn(10)
usr.icon_state = "[usr]"
First of all , the mob in oview(1) won't work. Can this go inside the ()'s? What should i do to set that?
Secondly using [usr] in the quotes won't work as if I were making text show ... i.e.: "[usr]: [msg]"
i've been around byond for a while but i've really never tried to do much coding. I'm really the artist in the games i do but i'm trying something.
A little help please?
|