Is it possible to detect cell change?

Post » Mon Feb 07, 2011 6:53 pm

Anyone know if there is a way to tell a script to run every time the player changes from one cell to another?
Something like this:

if ( player.getincell != PreviousCell )

do lots of stuff

set PreviousCell to player.getcurrentcell

else

do nothing

endif

Anyone know if the above is possible?
User avatar
Nicholas
 
Posts: 3454
Joined: Wed Jul 04, 2007 12:05 am

Post » Mon Feb 07, 2011 7:28 am

Check the NVSE docs for GetParentCell.
User avatar
tiffany Royal
 
Posts: 3340
Joined: Mon Dec 25, 2006 1:48 pm

Post » Mon Feb 07, 2011 7:03 pm

Check the NVSE docs for GetParentCell.


thanks a bunch
User avatar
Ebony Lawson
 
Posts: 3504
Joined: Fri Feb 16, 2007 11:00 am


Return to Fallout: New Vegas