Difference between revisions of "GetInSameCell"

537 bytes added ,  12:30, 25 November 2014
note on exteriors, and getingrid
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Odessa
(note on exteriors, and getingrid)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Incomplete}}
{{Function
|CSWikiPage = GetInSameCell
|origin = GECK1
|summary = Returns true if the [[calling reference]] is in the same cell as the target Actor.
|name = GetInSameCell
|returnVal =
|returnType = bool
|referenceType = Actor
|arguments =
  {{FunctionArgument
  |Name = Target
  |Type = Actor
  }}
|example =<pre>BuddyRef.GetInSameCell player</pre>
This will return a 1 if Buddy is in the same cell as the player, and 0 otherwise.
}}


Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetInSameCell GetInSameCell].
==Notes==
*This function may give unexpected results if used in exteriors, as it will return false if two adjacent actors are seperated by a cell boundary. Consider using [[GetInGrid]] instead.  


=='''See Also'''==
==See Also==
[[GetInCell]]<br>
*[[GetInCell]]
*[[GetInGrid]]
*[[IsInInterior]]


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Functions (GECK 1.1)]]
[[Category:Actor State Functions]]
[[Category:Actor State Functions]]
[[Category:Actor State Functions (GECK 1.0)]]
[[Category:Actor State Functions (GECK 1.1)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.0)]]
[[Category:Condition Functions (GECK 1.1)]]
Anonymous user