- Found in:
- PapyrusUtil
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.
Caveats
Parameters
FactionFindFaction
ObjectReferenceCenterOn
floatradius=0.0
intminRank=0
intmaxRank=127
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)