GetAllLinkedLocations - Location

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Location Script

Returns an array of all locations linked to this one under the given keyword.

Syntax[edit | edit source]

Location[] Function GetAllLinkedLocations(Keyword akKeyword) native

Parameters[edit | edit source]

  • akKeyword: The Keyword find links under.

Return Value[edit | edit source]

Array of all Locations linked to this one under the given keyword.

Examples[edit | edit source]

; Find all locations that shared crime with the player's home
CrimeLocArray = PlayerHomeLoc.GetAllLinkedLocations(SharesCrimeKeyword);

See Also[edit | edit source]