Description
Wiki Description
Sets this actor's rank in the specified faction. Adds the actor to the faction if necessary.
Documentation Comment
Sets this actor's rank with the specified faction
Caveats
Parameters
intaiRank
CK Wiki Description
The rank in the faction the actor should be ( valid range is -128 to 127 )
Examples
; Set the empire faction rank for Luke to 0
Luke.SetFactionRank(EmpireFaction, 0)Auto-Generated Example
Faction myFaction__akFaction
int myInt__aiRank
myActor__toCallFunctionOn.SetFactionRank(myFaction__akFaction, myInt__aiRank)Related Pages
- Actor
- Actor.GetFactionRank(...)
- Actor.ModFactionRank(...)
- Actor.RemoveFromFaction(...)
- Actor.IsInFaction(...)
