# Crouch attacks

**URL:** <https://forum.kirupa.com/t/crouch-attacks/143103>\
**Category:** Uncategorized\
**Created:** [April 3, 2005, 5:47am UTC](https://forum.kirupa.com/t/crouch-attacks/143103 "2005-04-03T05:47:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kerek](https://avatars.discourse-cdn.com/v4/letter/k/b9bd4f/32.png) [@kerek](https://forum.kirupa.com/u/kerek)\
**Post date:** [April 3, 2005, 5:47am UTC](https://forum.kirupa.com/t/crouch-attacks/143103/1 "2005-04-03T05:47:05Z")

</div>

I want to implement some crouch attacks into my game.

So obviously, I have the down arrow as crouch. So once your holding down to crouch, these need to be checked.

Thing is, I don’t know exactly the best way to do it. Say I have 2 weapons , the regular sword and a bow and arrow. I want them both useable while crouching.  
So I want the sword attack to be the same button as the normal attack… how would I do this? Limit the regular standing sword attack to only when he isn’t crouching? and make the bow attack a different key altogether?

That should work I suppose.

Any comments/suggestions? What’s the best way to check multiple keys?
