Background for Fallout 4
Member of the Actor script
voidfunctionSetFactionRank(FactionakFaction, intaiRank)Native

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

FactionakFaction

CK Wiki Description

The Faction to set this actor's rank in.

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


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.