Background for Skyrim SE

DbBigStringArray


Inheritance Tree

No indexed scripts extend this script.

Properties

dylbills

string[]array0=NONE
string[]array1=NONE
string[]array2=NONE
string[]array3=NONE
string[]array4=NONE
string[]array5=NONE
string[]array6=NONE
string[]array7=NONE
string[]array8=NONE
string[]array9=NONE
string[]array10=NONE
string[]array11=NONE
string[]array12=NONE
string[]array13=NONE
string[]array14=NONE
string[]array15=NONE
string[]array16=NONE
string[]array17=NONE
string[]array18=NONE
string[]array19=NONE
string[]array20=NONE
string[]array21=NONE
string[]array22=NONE
string[]array23=NONE
string[]array24=NONE
string[]array25=NONE
string[]array26=NONE
string[]array27=NONE
string[]array28=NONE
string[]array29=NONE
string[]array30=NONE
string[]array31=NONE
string[]array32=NONE
string[]array33=NONE
string[]array34=NONE
string[]array35=NONE
string[]array36=NONE
string[]array37=NONE
string[]array38=NONE
string[]array39=NONE
string[]array40=NONE
string[]array41=NONE
string[]array42=NONE
string[]array43=NONE
string[]array44=NONE
string[]array45=NONE
string[]array46=NONE
string[]array47=NONE
string[]array48=NONE
string[]array49=NONE
string[]array50=NONE
string[]array51=NONE
string[]array52=NONE
string[]array53=NONE
string[]array54=NONE
string[]array55=NONE
string[]array56=NONE
string[]array57=NONE
string[]array58=NONE
string[]array59=NONE
string[]array60=NONE
string[]array61=NONE
string[]array62=NONE
string[]array63=NONE
string[]array64=NONE
string[]array65=NONE
string[]array66=NONE
string[]array67=NONE
string[]array68=NONE
string[]array69=NONE
string[]array70=NONE
string[]array71=NONE
string[]array72=NONE
string[]array73=NONE
string[]array74=NONE
string[]array75=NONE
string[]array76=NONE
string[]array77=NONE
string[]array78=NONE
string[]array79=NONE
string[]array80=NONE
string[]array81=NONE
string[]array82=NONE
string[]array83=NONE
string[]array84=NONE
string[]array85=NONE
string[]array86=NONE
string[]array87=NONE
string[]array88=NONE
string[]array89=NONE
string[]array90=NONE
string[]array91=NONE
string[]array92=NONE
string[]array93=NONE
string[]array94=NONE
string[]array95=NONE
string[]array96=NONE
string[]array97=NONE
string[]array98=NONE
string[]array99=NONE
string[]array100=NONE
string[]array101=NONE
string[]array102=NONE
string[]array103=NONE
string[]array104=NONE
string[]array105=NONE
string[]array106=NONE
string[]array107=NONE
string[]array108=NONE
string[]array109=NONE
string[]array110=NONE
string[]array111=NONE
string[]array112=NONE
string[]array113=NONE
string[]array114=NONE
string[]array115=NONE
string[]array116=NONE
string[]array117=NONE
string[]array118=NONE
string[]array119=NONE
string[]array120=NONE
string[]array121=NONE
string[]array122=NONE
string[]array123=NONE
string[]array124=NONE
string[]array125=NONE
string[]array126=NONE
string[]array127=NONE
intsize=0
intnumberofarrays=128
intmaxsize=16384
intmaxnumberofarrays=128
booliterating=false
DynamicStringArraysstringarrays=NONE
Events
Functions
boolfunctionisBusy()
voidfunctionwaitWhileBusy(floatwaitInterval=0.1)
boolfunctionIsIterating()
voidfunctionwaitWhileIterating(floatwaitInterval=0.1)
voidfunctionwaitForState(stringakState, floatwaitInterval=0.1)
voidfunctionSetCurrentIndex(intindex)

set the current index (between -1 and size)
for use with getNext, SetNext, GetPrevious, SetPrevious functions

voidfunctionSetCurrentSizeVariables(boolforceSetArray=false)

don't use, for internal use only

intfunctionGetCurrentIndex()

CurrentIndex is used for getNext, SetNext, GetPrevious, SetPrevious functions

CurrentIndex is used for getNext, SetNext, GetPrevious, SetPrevious functions

CurrentIndex is used for getNext, SetNext, GetPrevious, SetPrevious functions

string[]functionGetCurrentSubArray()

current sub array set internally. (Array0, Array1, Array2 ect. Matches the CurrentSubArrayIndex)
used for getNext, SetNext, GetPrevious, SetPrevious functions

intfunctionGetSize()
intfunctionGetMaxSize()
intfunctionGetNumberOfArrays()
DbBigStringArrayfunctionCreateMultiArray(FormBigArrayForm, intnumberOfSubArrays=1, intsubArraySize=1, stringfillElement="", boolpersistent=true, boolabInitiallyDisabled=true)Global

create a multi dimensional array with numberOfSubArrays of subArraySize
BigArrayForm should have this script attached and the DynamicStringArrays script attached

DbBigStringArrayfunctionCreate(FormBigArrayForm, intakSize=0, stringfillElement="", boolpersistent=true, boolabInitiallyDisabled=true)Global

create a big string array with a max size of 16384
this script and the DynamicStringArrays script should be attached to the BigArrayForm

boolfunctionresize(intnewSize, stringfillElement="")
intfunctionFind(stringtoFind)
intfunctionRFind(stringtoFind)
boolfunctionpushBack(stringelement)
stringfunctionGetNext()

get the next element in the big array. Add 1 to currentIndex and get the element
if the current index is already at the last valid element (size - 1), goes to the first index in the array (0).

voidfunctionSetNext(stringelement)

set the next element in the big array. Add 1 to currentIndex and set the element
if the current index is already at the last valid element (size - 1), goes to the first index in the array (0).

stringfunctionGetPrevious()

Get the previous element in the big array. Subtract 1 to currentIndex and get the element
if the current index is at the first element (0), goes to the last valid index in the array (size - 1).

voidfunctionSetPrevious(stringelement)

Set the previous element in the big array. Subtract 1 to currentIndex and set the element
if the current index is at the first element (0), goes to the last valid index in the array (size - 1).

stringfunctionGetAt(intindex)

Set the element at the index in the big array and set CurrentIndex to index (for getNext, setNext, GetPrevious and SetPrevious functions)

boolfunctionSetAt(intindex, stringelement)

Set the element at the index in the large array and set CurrentIndex (for getNext, setNext, GetPrevious and SetPrevious functions)

boolfunctionInsertAt(intindex, stringelement)

use sparingly, pushback is much faster.

stringfunctionPop()

get the last element of the big array and remove it, reducing the size by 1

stringfunctionRemoveAt(intindex)

remove the string at the index, reducing the size by 1 and moving each element after the index back by 1.
returns the string that's currently at the index

voidfunctionClear()
voidfunctionDestroy()
int[]functionGetSubIndexesForIndex(intindex)
string[]functionGetNthSubArray(intindex, intakSize=0)

get Nth array in this object (0 to 100)
if akSize > 0, set's the size of subArray to akSize before returning

string[]functionGetArray(intakSize=0)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.