ID:174774
 
I cant figure out how to do different attack animations for different characters, please help
Put this where you need to. Just make sure there is an animation called "eat chicken wings" in the icon that the source is in now. =)
flick("eat chicken wings",src)


-Camaro-
In response to Camaro
but when i make an attack meant for 1 character, every character is able to use it, how can i make it so only the one character can use the verb?
In response to Sanuro
mob/myspecialverb/verb/Kill_birdy(mob/M)

this way, it can't be used(and won't show up), unless you give this verb to a mob. So that's all you have to do ;)

-Camaro-
In response to Camaro
Camaro wrote:
mob/myspecialverb/verb/Kill_birdy(mob/M)

So "myspecialverb" is the name of the verb?
Im kinda confused...
In response to Sanuro
Sanuro wrote:
Camaro wrote:
mob/myspecialverb/verb/Kill_birdy(mob/M)

So "myspecialverb" is the name of the verb?
Im kinda confused...

Nope, Kill_birdy will be the verb, "mob/myspecialverb/verb/" is the path or root to the "Kill_birdy" verb.

You will have to set this verb to your player though, within a login(), IE:

mob/Login()
if(src.key == "Sanuro")
src.verbs += new /mob/myspecialverb/verb/Kill_birdy
else ..()


--Lee
In response to Mellifluous
Thanks! That is just what i was looking for!
In response to Sanuro
Sorry for not explaining it ;]

-Camaro-
In response to Camaro
No problem ^_^