LocationHasKeyword

From the CreationKit Wiki
Revision as of 11:10, 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[edit | edit source]

LocationHasKeyword returns 1 if the calling ref's current Location has the specified Keyword.

Alternately, if used as a condition to fill a Location Alias on a quest, it will test the locations themselves for the specified keyword.

Syntax[edit | edit source]

[ObjectREF.]LocationHasKeyword KeywordID

Examples[edit | edit source]

AnoriathRef.LocationHasKeyword LocTypeDungeon   ;Returns 1 if Anoriath is in a dungeon.

See Also[edit | edit source]

Papyrus Version[edit | edit source]

HasKeyword - Form