GetLocRefTypes - ObjectReference
From Creation Kit
Member of: ObjectReference Script
Returns array of the LocationRefTypes for this object.
Syntax
LocationRefType[] Function GetLocRefTypes() native
Parameters
None.
Return Value
Array of LocationRefTypes this ref is assigned for its location.
Examples
LocationRefType[] refTypes = MyObject.GetLocRefTypes() if refTypes.Find(TargetRefType) >= 0 Debug.Trace("My object has the target ref type") endIf