Mod:Creation Kit/SetFactionRank - Actor

Member of: Mod:Creation Kit/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.

Return Value
None.

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