Difference between revisions of "GetCellChanged"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>QQuix
(Removed Bot message)
imported>QQuix
(Added a note)
 
Line 6: Line 6:
  | returnType = bool
  | returnType = bool
}}
}}
==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.


[[Category:Functions]]
[[Category:Functions]]

Latest revision as of 13:46, 10 March 2015

< [[::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.