SetLocRefType - ObjectReference

Revision as of 11:07, 29 January 2015 by imported>Iceburg333 (→‎See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 )


See AlsoEdit