Background for Skyrim SE
Member of the JArray script
boolfunctionwriteToIntegerPArray(intobject, int[]targetArray, intwriteAtIdx=0, intstopWriteAtIdx=-1, intreadIdx=0, intdefaultRead=0)NativeGlobal

Description

Documentation Comment

Writes the array's items into the @targetArray array starting at @destIndex
@writeAtIdx - [-1, 0] - writes all the items in reverse order
[0, -1] - writes all the items in straight order
[1, 3] - writes 3 items in straight order


Caveats


Parameters

intobject

int[]targetArray

intwriteAtIdx=0

intstopWriteAtIdx=-1

intreadIdx=0

intdefaultRead=0


Examples

Auto-Generated Example

int myInt__object
int[] myIntArray__targetArray
int myInt__writeAtIdx
int myInt__stopWriteAtIdx
int myInt__readIdx
int myInt__defaultRead

bool returnedValue = JArray.writeToIntegerPArray(myInt__object, myIntArray__targetArray, myInt__writeAtIdx, myInt__stopWriteAtIdx, myInt__readIdx, myInt__defaultRead)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.