Background for Skyrim SE
Member of the Actor script
intfunctionGetFactionRank(FactionakFaction)Native

Description

Wiki Description

Gets this actor's rank in the specified faction.

Documentation Comment

Obtains this actor's rank with the specified faction - returns -1 if the actor is not a member


Caveats


Parameters

FactionakFaction

CK Wiki Description

The Faction to get this actor's rank in.


Examples

; Is the Jarl in the empire faction?
if (Jarl.GetFactionRank(EmpireFaction) >= 0)
  Debug.Trace("Jarl is in the empire faction")
endIf

Auto-Generated Example

Faction myFaction__akFaction

int returnedValue = myActor__toCallFunctionOn.GetFactionRank(myFaction__akFaction)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.