IsLinkedLocation - Location

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Location Script

Checks for a link between this location and the given one under the given keyword.

Syntax[edit | edit source]

bool Function IsLinkedLocation(Location akLoc, Keyword akKeyword) native

Parameters[edit | edit source]

Return Value[edit | edit source]

True if a link exists between the two locations under the given keyword

Examples[edit | edit source]

; Check if the actor's home location and the player's share crime data
bool breportcrime = ActorHomeLoc.IsLinkedLocation(PlayerHomeLoc, SharesCrimeKeyword);

See Also[edit | edit source]