Jump to content

how to detect if underground?


Rawrstin

Recommended Posts

Open the entity debugger and hover over a position. This will tell you it's x,y and z position. The z position will therefore be the same as the rest of the dungeon. However there are some dungeons and rooftops with z co-ords of 0 (and if my memory serves correctly hill giants may well be one of them?) so if that is the case then you can always create an area and check if you're in it. Alternatively, seeing as u just climbed down a ladder, you could check whether the ladder has a 'climb-up' option instead of a 'climb-down' option :)

 

~apa

  • Like 3
Link to comment
Share on other sites

Open the entity debugger and hover over a position. This will tell you it's x,y and z position. The z position will therefore be the same as the rest of the dungeon. However there are some dungeons and rooftops with z co-ords of 0 (and if my memory serves correctly hill giants may well be one of them?) so if that is the case then you can always create an area and check if you're in it. Alternatively, seeing as u just climbed down a ladder, you could check whether the ladder has a 'climb-up' option instead of a 'climb-down' option smile.png

 

~apa

 

Thanks a million!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...