SetFactionOwner - ObjectReference

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)

Member of: ObjectReference Script

Sets the faction as the owner of this object.

SyntaxEdit

Function SetFactionOwner(Faction akFaction) native

ParametersEdit

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

Return ValueEdit

None.

ExamplesEdit

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

See AlsoEdit