Well-met Posted May 27, 2019 Share Posted May 27, 2019 (edited) hi I made a custom weapon which has a long cooldown between hits, much like mobs. The problem is if you hold down F, during cooldown the character will move toward the target and get as close as possible until the next swing Is there any way to prevent this dangerous move while still be able to hold down F? I'm pretty sure Bearger doesn't do that between his clawing but I can't find any clue thnx Edited May 27, 2019 by Hell-met Link to comment https://forums.kleientertainment.com/forums/topic/106753-weapon-attack-cooldown/ Share on other sites More sharing options...
Ultroman Posted June 24, 2019 Share Posted June 24, 2019 Not without messing up other stuff, I think. What happens is that you're giving the player an action to perform and a position to perform it at, and if the character is not at that position, it instead starts a movement action and queues up the intended action. It does this for just about any action. There might be a flag (true/false) you can set on specific actions for whether a player should move to into position if they are not within range. I don't know how you've set up your weapon (does it have a custom action?), so I can't go into specifics. Link to comment https://forums.kleientertainment.com/forums/topic/106753-weapon-attack-cooldown/#findComment-1213649 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