LocationHasKeyword

DescriptionEdit

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.

SyntaxEdit

[ObjectREF.]LocationHasKeyword KeywordID

ExamplesEdit

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

See AlsoEdit

Papyrus VersionEdit

HasKeyword - Form