Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Doggo120

Check if player is on a floor?

Recommended Posts

Hello awesome Doom community!

I've been wondering if there's a way of checking when the player is on a floor. I guess it's easier with an example:

Let's say the player is falling and I want to excecute a script when he hits the floor. There would be sectors with different floor heights.

It would be awesome if it is possible.

As always, muchas gracias :)

Share this post


Link to post

(A second later) I guess I could do it with GetActorFloorZ, but it would be a couple of days until I can try it out :(

Share this post


Link to post

Try the "Actor hits floor" Sector Action Thing(Tag 9999) in ZDoom. Put it in the sector you want, assign an action to it and Bob's your uncle.

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
×