- Found in:
- Dylbills PE
boolfunctionSliceArray(stringakHandle, stringsScriptName, stringsArrayPropertyName, intstartIndex, intendIndex=-1, boolkeep=true)NativeGlobal
Description
Documentation Comment
Remove a portion of the array.
If keep is true (default) it keeps the portion between the startIndex and endIndex and removes the rest. If keep is false, it removes the portion between the startIndex and endIndex.
A value of -1 for the endIndex (default) means the last element in the array.
Caveats
Parameters
stringakHandle
stringsScriptName
stringsArrayPropertyName
intstartIndex
intendIndex=-1
boolkeep=true
Examples
Auto-Generated Example
string myString__akHandle
string myString__sScriptName
string myString__sArrayPropertyName
int myInt__startIndex
int myInt__endIndex
bool myBool__keep
bool returnedValue = PapyrusUtilEx.SliceArray(myString__akHandle, myString__sScriptName, myString__sArrayPropertyName, myInt__startIndex, myInt__endIndex, myBool__keep)