Mod:Creation Kit/SetLocRefType - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Sets an in-game created object to be the given loc ref type for the given location.

Syntax
Function SetLocRefType(Location akLoc, LocationRefType akRefType)

Parameters

 * 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 Value
None

Examples
TestBossRef = TestLocCenterRef.PlaceAtMe( TestActorBase ) TestBossRef.SetLocRefType( TestLoc, Boss )
 * Create a new boss for a dungeon