LocationHasRefType

From the CreationKit Wiki
Jump to navigation Jump to search

Description[edit | edit source]

LocationHasRefType returns 1 if the calling ref's current Location has the specified Location Ref Type.

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

Syntax[edit | edit source]

[ObjectREF.]LocationHasRefType LocationRefTypeID

Examples[edit | edit source]

AnoriathREF.LocationHasRefType Boss  ;Returns 1 if AnoriathREF's current location has a boss.

See Also[edit | edit source]

Papyrus Version[edit | edit source]

HasRefType - Location