IsInLocation - ObjectReference

Revision as of 17:25, 24 October 2011 by imported>Plplecuyer (→‎See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ObjectReference Script

Checks to see if this object is in the specified location, or a child of the specified location.

SyntaxEdit

bool Function IsInLocation(Location akLocation)

ParametersEdit

Return ValueEdit

Whether this reference is in the specified location.

ExamplesEdit

; Is the box in the house location?
if Box.IsInLocation(House)
  Debug.Trace("Box is in the house!")
endIf

See AlsoEdit