Background for Skyrim SE
Member of the bk56_SearchActorFuzzy script
intfunctionbk56_SearchActorFuzzy(stringactorName, boolnearbyOnly, boolhandledOnly, floatWeightMin)NativeGlobal

Description

Documentation Comment

Useful for locating NPCs whose display names may be altered or obscured by other modifications or for other mods that may not be able to get the formID directly.

Returns the FormID of an Actor whose name closely matches the input string. Supports fuzzy matching and optional filters for proximity and engine-handled status.


Parameters

stringactorName

boolnearbyOnly

boolhandledOnly

floatWeightMin


Examples

Auto-Generated Example

string myString__actorName
bool myBool__nearbyOnly
bool myBool__handledOnly
float myFloat__WeightMin

int returnedValue = bk56_SearchActorFuzzy.bk56_SearchActorFuzzy(myString__actorName, myBool__nearbyOnly, myBool__handledOnly, myFloat__WeightMin)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.