SetFactionOwner - ObjectReference

From the CreationKit Wiki
Revision as of 15:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Sets the faction as the owner of this object.

Syntax[edit | edit source]

Function SetFactionOwner(Faction akFaction) native

Parameters[edit | edit source]

  • akFaction: The Faction to set as this object's owner.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Set the empire as owning the walker
WalkerProperty.SetFactionOwner(EmpireFactionProperty)

See Also[edit | edit source]