Is there a way to get a cell's height?

Post » Sun Aug 08, 2010 10:26 pm

I have a vampire jumping script that only runs if the vamp is outdoors for height requirement reasons. But if I knew the indoor cell the player was in was high enough I could run the script indoors as well.
User avatar
Talitha Kukk
 
Posts: 3477
Joined: Sun Oct 08, 2006 1:14 am

Post » Sun Aug 08, 2010 4:57 pm

A cell doesn't have a "height" per-se, but I do believe its extents have a limit. If you're talking about calculating the height of a static room or something similar, I'd suggest that you use a couple of critters and getLOS to find it. I believe QQuix had an old resource on the Nexus that you could refer to.
User avatar
Kaylee Campbell
 
Posts: 3463
Joined: Mon Mar 05, 2007 11:17 am

Post » Sun Aug 08, 2010 11:41 am

I solve this scripting puzzle by firing a series of spells up from the ground and detecting the distance they traveled before hitting the ceiling.
Not perfect but it will do for now.


A cell doesn't have a "height" per-se, but I do believe its extents have a limit. If you're talking about calculating the height of a static room or something similar, I'd suggest that you use a couple of critters and getLOS to find it. I believe QQuix had an old resource on the Nexus that you could refer to.

User avatar
Reven Lord
 
Posts: 3452
Joined: Mon May 21, 2007 9:56 pm


Return to IV - Oblivion