Background for Skyrim SE
Member of the MiscUtil script
Actor[]functionScanCellNPCsByFaction(FactionFindFaction, ObjectReferenceCenterOn, floatradius=0.0, intminRank=0, intmaxRank=127, boolIgnoreDead=true)NativeGlobal

Description

Documentation Comment

Same as ScanCellNPCs(), however it filters the return by a given faction and (optionally) their rank in that faction.


Parameters

  1. FactionFindFaction

  2. ObjectReferenceCenterOn

  3. floatradius=0.0

  4. intminRank=0

  5. intmaxRank=127

  6. boolIgnoreDead=true


Examples

Auto-Generated Example

Faction myFaction__FindFaction
ObjectReference myObjectReference__CenterOn
float myFloat__radius
int myInt__minRank
int myInt__maxRank
bool myBool__IgnoreDead

Actor[] returnedValue = MiscUtil.ScanCellNPCsByFaction(myFaction__FindFaction, myObjectReference__CenterOn, myFloat__radius, myInt__minRank, myInt__maxRank, myBool__IgnoreDead)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.