Background for Skyrim SE
Member of the PO3_SKSEFunctions script
string[]functionGetSortedNPCNames(ActorBase[]aiActorBases, stringasPlural="s)")NativeGlobal

Description

GitHub Wiki Description (PO3's PE)

  • Gets name array of NPCs, sorted alphabetically.
  • Generic actors are merged (ie. 3 Whiterun Guard(s)).

Caveats


Parameters

ActorBase[]aiActorBases

stringasPlural="s)"


Examples

Auto-Generated Example

ActorBase[] myActorBaseArray__aiActorBases
string myString__asPlural

string[] returnedValue = PO3_SKSEFunctions.GetSortedNPCNames(myActorBaseArray__aiActorBases, myString__asPlural)

Additional References

View this function on the GitHub Wiki for powerofthree's Papyrus Extender

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