Difference between revisions of "GetInCell"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Khadir
(Documenting actor functions ...)
imported>JOG
Line 1: Line 1:
{{ActorFunction}}
'''Syntax:'''
'''Syntax:'''
   [''ActorID''.]GetInCell ''CellName''
   [''ActorID''.]GetInCell ''CellName''
Line 17: Line 16:
[[Category: Actor State Functions]]
[[Category: Actor State Functions]]
[[Category: Condition Functions]]
[[Category: Condition Functions]]
[[Category:Actor Functions]]

Revision as of 11:18, 28 June 2006

Syntax:

 [ActorID.]GetInCell CellName

Example:

 GetInCell Chorrol 

Returns true if the actor's current cell includes "CellName" as part of its name.

Note that CellName has to be a valid interior cell name. Exterior cells will not work. In some cases, it is necessary to create a "dummy" interior cell (e.g. Chorrol) in order to use GetInCell for a set of related interior and exterior cells (e.g. all the ChorrolXXX cells).

See Also