SetFactionOwner - ObjectReference

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