Jump to content

Detect whether player is indoors?


Recommended Posts

there's a few ways,

RedRocketTV has some ideas,

Shavkacagarikia has a few snippets

Valyn81 talks about another approach here

https://forums.nexusmods.com/index.php?/topic/6174918-help-with-understanding-the-ugrids-relation-to-interiorexterior-buffer/

 

SMB92 and fiftytifty have a few different approaches,

as does BlahblahDeeblahblah.

 

 

  Reveal hidden contents

 

 

hopefully, those are some ideas to detect what cell-type the tent is deployed within.

I look forward to seeing what you come up with.

Edited by montky
Link to comment
Share on other sites

  On 11/24/2017 at 10:55 AM, shavkacagarikia said:

you can check it with:

Game.getplayer().IsInInterior()

oops, it seems I'm bit late :D

 

This is a general way of doing the detection but not necessarily 100% accurate. There could be situations where the area is actually a worldspace not an interior cell. I can't think of one that happens in Fallout 4 but there are quite a few in Skyrim.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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