LocationHasKeyword

From the CreationKit Wiki
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