Jump to content

How to determine map boundry in Papyrus


PJMail

Recommended Posts

Basically how (in a script) can I tell if an x,y coordinate is 'off the map'?

I don't really want to encode it in some vast array.

Clearly the game can figure it out (and stop the player moving past it).

This is for my Vertibird NPC which seems immune to that restriction.

However, if I fly outside the bounds and the player exits - bad things happen to the player...

 

Edit: I know the information is in the 'region point' list in the 'region' records, but that object type has no script interface.

 

I would be happy with just some sort of kludgey test that succeeds/fails if attempted on an 'off map' cell - even...

Edited by PJMail
Link to comment
Share on other sites

  • Recently Browsing   0 members

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