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.
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(...)
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
