Background for Skyrim SE
Member of the PapyrusUtilEx script
boolfunctionResizeArray(stringakHandle, stringsScriptName, stringsArrayPropertyName, intsize, intfillIndex=-1)NativeGlobal

Description

Documentation Comment

Resize a papyrus array.
if the array is sized to larger than before, the rest of the array is filled with the element at the fillIndex in the array.
A value of -1 (default) for the fillIndex means the last element in the array.
If the array is sized smaller the elements past the new size are removed from the array.


Caveats


Parameters

stringakHandle

stringsScriptName

stringsArrayPropertyName

intsize

intfillIndex=-1


Examples

Auto-Generated Example

string myString__akHandle
string myString__sScriptName
string myString__sArrayPropertyName
int myInt__size
int myInt__fillIndex

bool returnedValue = PapyrusUtilEx.ResizeArray(myString__akHandle, myString__sScriptName, myString__sArrayPropertyName, myInt__size, myInt__fillIndex)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.