GetInCurrentLoc

From the CreationKit Wiki
Revision as of 11:07, 21 November 2011 by imported>SJML Bot (Bot creating condition functions pages.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

GetInCurrentLoc returns 1 if the reference's current location is (or has a parent location of) the supplied location.

Syntax

[ObjectREF].GetInCurrentLoc Location

Examples

player.GetInCurrentLoc WhiterunLocation   ;returns true if player is in WhiterunLocation or in a location that has WhiterunLocation as a parent.

See Also

Papyrus Functions