Maximum range of the Use key?

How many map units away from a switch/door can a player be standing and still able to use it? (Ignoring Z height.)

Share this post


Link to post

I could be wrong, but I seem to be remembering 64 map units from the center of the player.

Share this post


Link to post

After a quick test: I can press a switch 63 units from the center of the player (47 from the edge of the bounding box), but not 64 (48) or higher.

Share this post


Link to post

I think that covers everything I needed to know. Thank you. :)

Share this post


Link to post
Sodaholic said:

I could be wrong, but I seem to be remembering 64 map units from the center of the player.


Oh, the same as melee.

Share this post


Link to post

How is the distance measured? Same distance in any direction? Or max(x, y)?

Share this post


Link to post

In some rare cases you have to be closer than 64 units (even without other linedef blocking the way). Also, you have to be at least one frame within the 64 units before you can use it.

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.


Sign In Now