katian Posted September 20, 2011 Posted September 20, 2011 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 Quote
0 Tryskell Posted September 20, 2011 Posted September 20, 2011 st.getPlayer () refers to the player which got the quest. Change for npc. Quote
0 katian Posted September 20, 2011 Author Posted September 20, 2011 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 Quote
0 Tryskell Posted September 21, 2011 Posted September 21, 2011 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). Quote
0 katian Posted September 22, 2011 Author Posted September 22, 2011 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 Quote
Question
katian
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.