SetFactionRank - Actor

Revision as of 15:27, 18 October 2011 by imported>Vitamant (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Actor Script

Sets this actor's rank in the specified faction. Adds the actor to the faction if necessary.

SyntaxEdit

Function SetFactionRank(Faction akFaction, int aiRank) native

ParametersEdit

  • akFaction: The Faction to set this actor's rank in.
  • aiRank: The rank in the faction the actor should be.

Return ValueEdit

None.

ExamplesEdit

; Set the empire faction rank for Luke to 0
Luke.SetFactionRank(EmpireFaction, 0)

See AlsoEdit