GetCellChanged

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
< [[::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.