Difference between revisions of "GetCellChanged"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>CSbot
(Automated import of articles)
 
imported>QQuix
(Added a note)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{BotAddedPage|CSbot|DragoonWraith}}
{{Function
{{Function
  | origin = OBSE
  | origin = OBSE
Line 7: 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.