Jump to content
  • 0

NPC Animation


Question

Posted

Well I have a doubt as would be done so that the NPC

Buffer gave the animation of the skill, this probe

code (st.getPlayer (). useMagic (SkillTable.getInstance (). getInfo (1085.3), False, False) and pj is the one who made ​​the animation but not the npc

 

------

 

buenas, tengo una duda como se haria para que el NPC

Buffer diera la animation del skill, probe con este

codigo (st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1085,3),False,False) y el pj es el que realiza la animacion mas no el npc

 

:o

4 answers to this question

Recommended Posts

  • 0
Posted

st.getPlayer () refers to the player which got the quest. Change for npc.

 

Could you explain a little better and excuse the ignorance

 

edit: Testing an idea to have

  • 0
Posted

zzzz

 

st.getPlayer (). useMagic => npc.useMagic

 

Btw I don't think useMagic is fine for casting on another target, try doCast (I'm lazy to open Eclipse atm).

 

I watched with other codes and how you placed and nothing but thanks for your help, but fails to do what I wanted

well thank you

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..