SetLocRefType - ObjectReference
Member of: ObjectReference Script
Sets an in-game created object to be the given loc ref type for the given location.
SyntaxEdit
Function SetLocRefType(Location akLoc, LocationRefType akRefType)
ParametersEdit
- akLoc: Location to set the ref as the ref type in
- akRefType: RefType to set the ref as or None to clear an already set ref type on a created ref
Return ValueEdit
None
ExamplesEdit
;Create a new boss for a dungeon
TestBossRef = TestLocCenterRef.PlaceAtMe( TestActorBase )
TestBossRef.SetLocRefType( TestLoc, Boss )