Hi,
I know we can use:
If !((GetPlayer().GetParentCell()).IsInterior())
and most of the time it works fine. Except if you are near a dungeon entrance on the surface. It will say you are in an interior even If you are not. Is there a workaround? perhaps checking for the location of the player versus center of skyrim? I recall vaguely that checking for distance between the player and middle of skyim would return a number in the millions if the player was inside a dungeon.
Any help appreciate, need this for Genesis and the blasted spiders so I can tell wether I can spawn them.
Tony
Sands of Time team member