- Found in:
- Dylbills PE
boolfunctionSliceArrayOnto(stringakHandle_A, stringsScriptName_A, stringsArrayPropertyName_A, stringakHandle_B, stringsScriptName_B, stringsArrayPropertyName_B, intstartIndex, intendIndex=-1, boolreplace=false, boolkeep=true)NativeGlobal
Description
Documentation Comment
Take a portion of the _A array and remove it, merging it with or replacing the _B array depending on the replace parameter.
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.
Array _A and array _B must be the same type. Remember both arrays must be already initialized.
Parameters
stringakHandle_A
stringsScriptName_A
stringsArrayPropertyName_A
stringakHandle_B
stringsScriptName_B
stringsArrayPropertyName_B
intstartIndex
intendIndex=-1
boolreplace=false
boolkeep=true
Examples
Auto-Generated Example
string myString__akHandle_A
string myString__sScriptName_A
string myString__sArrayPropertyName_A
string myString__akHandle_B
string myString__sScriptName_B
string myString__sArrayPropertyName_B
int myInt__startIndex
int myInt__endIndex
bool myBool__replace
bool myBool__keep
bool returnedValue = PapyrusUtilEx.SliceArrayOnto(myString__akHandle_A, myString__sScriptName_A, myString__sArrayPropertyName_A, myString__akHandle_B, myString__sScriptName_B, myString__sArrayPropertyName_B, myInt__startIndex, myInt__endIndex, myBool__replace, myBool__keep)