GetCellChanged

Revision as of 14:46, 10 March 2015 by imported>QQuix (Added a note)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(cellChanged:bool) GetCellChanged

Returns 1 if the player has entered a new cell since the last time the command was called from the calling script, including transitioning from one exterior cell to another.


Notes

  • The detection is on a per-script basis, not per-reference. So if you have two or more references running the same script, only the first one that executes this command will return 1 when the player changes cells.