-
Notifications
You must be signed in to change notification settings - Fork 18
Array
powerof3 edited this page May 5, 2022
·
2 revisions
- Counts how many instances of a string are in an array.
int Function ArrayStringCount(String asString, String[] asStrings) global native- 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- 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- Adds actor to array. Modifies array directly, it must be initialized!
bool Function AddActorToArray(Actor akActor, Actor[] actorArray) global native- Adds string to array. Modifies array directly, it must be initialized!
bool Function AddStringToArray(String asString, String[] asStrings) global native- Alphabetically sorts and returns truncated string array.
String[] Function SortArrayString(String[] asStrings) global native