Mod:Creation Kit/GetFirstFoundKeywordInArrayForLocation - CommonArrayFunctions

Member of: Mod:Creation Kit/CommonArrayFunctions Script

Finds and returns the first keyword in the array that is attached to the specified location.

Parameters

 * LocationToCheck: The location we are checking
 * ArrayToCheck: The keywords to check

Return Value
The first keyword in the array applied to the location, or None if none of them are attached, the location is None, the array is None, or the array is empty.