- Found in:
- Vanilla
KeywordfunctionGetFirstFoundKeywordInArrayForLocation(LocationLocationToCheck, Keyword[]ArrayToCheck)Global
Description
Wiki Description
Finds and returns the first keyword in the array that is attached to the specified location.
Documentation Comment
jduvall
Caveats
Parameters
Examples
Keyword theKeyword = CommonArrayFunctions.GetFirstFoundKeywordInArrayForLocation(PlayerLocation, LocationKeywords)
if theKeyword
theKeyword.SendStoryEvent() ; fire off some quest based on the keyword
endIfAuto-Generated Example
Location myLocation__LocationToCheck
Keyword[] myKeywordArray__ArrayToCheck
Keyword returnedValue = CommonArrayFunctions.GetFirstFoundKeywordInArrayForLocation(myLocation__LocationToCheck, myKeywordArray__ArrayToCheck)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
