Skillzalot Posted February 7, 2012 Author Share Posted February 7, 2012 Ok so i got it so if a weapon has knockback it knocks and enemy back a set amount of tiles then stuns them, the issue is it stuns them before it knocks them back and i cant figure out how to get it to knock them back first then stun.Would anybody happen to know where to edit and how i can achieve this Link to comment Share on other sites More sharing options...
erkro1 Posted February 7, 2012 Share Posted February 7, 2012 Put the StunPlayer thing after the code where you move the player with. Link to comment Share on other sites More sharing options...
Robin Posted February 7, 2012 Share Posted February 7, 2012 Just change the code order? Link to comment Share on other sites More sharing options...
erkro1 Posted February 7, 2012 Share Posted February 7, 2012 Thats what I'm saying.. Link to comment Share on other sites More sharing options...
Whackeddie99 Posted February 7, 2012 Share Posted February 7, 2012 That wouldnt help because it would stun them in an instant and it would seem the same moment. He needs a timer or something? And also I was trying to do the same thing but I can't figure out how to make the player go back…how do I take the XOffset and change it when this happens? Link to comment Share on other sites More sharing options...
_Her0 Posted February 7, 2012 Share Posted February 7, 2012 The problem must be order, it wouldn't make much sense if it happened at the same time, because in the end, the player would still be pushed back. If what was happening was what you said, you'd basically be saying the client is working backwards. Link to comment Share on other sites More sharing options...
Whackeddie99 Posted February 7, 2012 Share Posted February 7, 2012 @Whack:> I was trying to do the same thing but I can't figure out how to make the player go back…how do I take the XOffset and change it when this happens? Link to comment Share on other sites More sharing options...
_Her0 Posted February 7, 2012 Share Posted February 7, 2012 ..? That has nothing to do with what you proposed.@Robin:> Just change the code order?@Erwin:> Thats what I'm saying..@Whack:> That wouldnt help because it would stun them in an instant and it would seem the same moment.@Her0â„¢:> The problem must be order, it wouldn't make much sense if it happened at the same time, because in the end, the player would still be pushed back. If what was happening was what you said, you'd basically be saying the client is working backwards. Link to comment Share on other sites More sharing options...
Whackeddie99 Posted February 7, 2012 Share Posted February 7, 2012 I know I have a question…thats the question... Link to comment Share on other sites More sharing options...
Skillzalot Posted February 7, 2012 Author Share Posted February 7, 2012 i did change the order in my attack sub but this is happening somewhere else, it automatically stuns before knocking them back no matter what way i put it Link to comment Share on other sites More sharing options...
Murdoc Posted February 7, 2012 Share Posted February 7, 2012 @Skillzalot:> i did change the order in my attack sub but this is happening somewhere else, it automatically stuns before knocking them back no matter what way i put itthe stun needs a time indicator to determine how long it should wait b4 instigating the stun action Link to comment Share on other sites More sharing options...
Whackeddie99 Posted February 7, 2012 Share Posted February 7, 2012 @Murdoc:> the stun needs a time indicator to determine how long it should wait b4 instigating the stun action@Whack:> He needs a timer or something? Link to comment Share on other sites More sharing options...
Murdoc Posted February 7, 2012 Share Posted February 7, 2012 @Whack:;-) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now