SetFactionRank - Actor
(Redirected from Actor.SetFactionRank (Papyrus))
Jump to navigation
Jump to search
Member of: Actor Script
Sets this actor's rank in the specified faction. Adds the actor to the faction if necessary.
Syntax[edit | edit source]
Function SetFactionRank(Faction akFaction, int aiRank) native
Parameters[edit | edit source]
- 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[edit | edit source]
None.
Examples[edit | edit source]
; Set the empire faction rank for Luke to 0
Luke.SetFactionRank(EmpireFaction, 0)