IsCellExpired

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Checks if a specified cell has expired and going to be reset on the next load (happens 3 days after the last visit). The return values are as follows:

-1: Cell has not been visited or player is currently in it
0: Cell has not expired
1: Cell has expired (either 3 days have passed, or ResetInterior was called)

Syntax

[help]
(-1, 0, 1:int) IsCellExpired cell:form

Example

set isExpired to IsCellExpired PrimmNashResidence 

See also