Jump to content
  • 0

How to Check for Space when Leaving Vehicle


Uni Musuotankarep

Question

I want to check for space in the level geometry when you Right-Click to leave the Vehicle I am making for my big mod. I am using ZScript, so I suppose this can be done easily.

 

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 1

Since you're using ZScript, it sounds like you want the CheckMove function.

 

This will check if the move is legal, but won't execute the move. This will allow you do display a HUD message or something like that if there's no room to exit the vehicle.

Share this post


Link to post
  • 0
2 hours ago, JadingTsunami said:

Since you're using ZScript, it sounds like you want the CheckMove function.

 

This will check if the move is legal, but won't execute the move. This will allow you do display a HUD message or something like that if there's no room to exit the vehicle.

 

Yes, but can you give me an Example in Text Form?

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...