How to track heavy or single attack state.
Hello,every one.
I wonder how to track attack state, when hold attack key and when its ready to execute heavy attack. Is there any way to handle this?? :rolleyes: This can help in some cases when it is necessary sustain the attack for some time and show the state of it on the display as percentage bar. |
I spotted a function yesterday that may be for this purpose. Ah, here we go.
These two events : EVENT_LOCAL_PLAYER_CHARGEUP_BEGIN EVENT_LOCAL_PLAYER_CHARGEUP_COMPLETE They didn't have private or protected against it but then I also don't know if things have been removed since the API change. |
Quote:
|
Nope, I was never a part of the API beta group so all I know is what was posted in a thread elsewhere on this site.
|
Quote:
any other idea to track Weapon heavy attack ? |
I think the idea is you watch the game :) I can see the heavy attack with a one handed sword but still not quite figured it out with the bow.
|
If I recall correctly, you can hear when it's ready (the bow string makes a sound as it's being pulled back) and when your arm stops moving, it's back all the way.
|
Im actually find one solution, tracking Mouse down event. Only think i have to do is add timings to it. Usual timings when heavy attack is fully charged (its about ~1.7sec) , scaling depends on weapon enhancement or another stats. What do you think, can i use static variable as standard period which fires heavy attack ? In this case, I can add the charge indicator attack
|
All times are GMT -6. The time now is 10:57 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI