SetFactionRank - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

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

Syntax

Function SetFactionRank(Faction akFaction, int aiRank) native

Parameters

  • akFaction: The Faction to set this actor's rank in.
  • aiRank: The rank in the faction the actor should be ( valid range is -128 to 127 )

Return Value

None.

Examples

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

See Also