Array - powerof3/PapyrusExtenderSSE GitHub Wiki
Getters
ArrayStringCount
- Counts how many instances of a string are in an array.
int Function ArrayStringCount(String asString, String[] asStrings) global native
GetSortedActorNames
- Gets name array of all the actors in the area, sorted alphabetically.
- Generic actors are merged (ie. 3 Whiterun Guard(s)).
- Filter keyword optional
String[] Function GetSortedActorNames(Keyword akKeyword, String asPlural = "(s)", bool abInvertKeyword) global native
GetSortedNPCNames
- Gets name array of NPCs, sorted alphabetically.
- Generic actors are merged (ie. 3 Whiterun Guard(s)).
String[] Function GetSortedNPCNames(ActorBase[] aiActorBases, String asPlural = "(s)") global native
Setters
AddActorToArray
- Adds actor to array. Modifies array directly, it must be initialized!
bool Function AddActorToArray(Actor akActor, Actor[] actorArray) global native
AddStringToArray
- Adds string to array. Modifies array directly, it must be initialized!
bool Function AddStringToArray(String asString, String[] asStrings) global native
SortArrayString
- Alphabetically sorts and returns truncated string array.
String[] Function SortArrayString(String[] asStrings) global native