The JArray script is a part of Skyrim SE’s Papyrus scripting ecosystem. This script is not present in the vanilla game, but can be found in modded sources like JContainers (JContainers).
For this script, the Papyrus index knows about:
- 57 functions
Inheritance Tree
No indexed scripts extend this script.
Properties
No properties found.
Events
No events found.
Functions
- Found in:
- JContainers
creates new container object. returns container's identifier (unique integer number).
- Found in:
- JContainers
Creates a new array of given size, filled with empty (None) items
- Found in:
- JContainers
Creates a new array that contains given values
objectWithBooleans converts booleans into integers- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
Creates a new array containing all the values from the source array in range [startIndex, endIndex)
- Found in:
- JContainers
Inserts the values from the source array into this array. If insertAtIndex is -1 (default behaviour) it appends to the end.
negative index accesses items from the end of container counting backwards.- Found in:
- JContainers
- Found in:
- JContainers
Returns the item at the index of the array.
negative index accesses items from the end of container counting backwards.- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
Copy all items to new native Papyrus array of dynamic size.
Items not matching the requested type will have default
values as the ones from the getInt/Flt/Str/Form functions.- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
Returns the index of the first found value/container that equals to given the value/container (default behaviour if searchStartIndex is 0).
If nothing was found it returns -1.
@searchStartIndex - index of the array where to start search
negative index accesses items from the end of container counting backwards.- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
Returns the number of times given value was found in a JArray.
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
Replaces existing value at the @index of the array with the new @value.
negative index accesses items from the end of container counting backwards.- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
Appends the @value/@container to the end of the array.
If @addToIndex >= 0 it inserts value at given index. negative index accesses items from the end of container counting backwards.- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
Returns count of the items in the array
- Found in:
- JContainers
Removes all the items from the array
- Found in:
- JContainers
Erases the item at the index. negative index accesses items from the end of container counting backwards.
- Found in:
- JContainers
Erases [first, last] index range of the items. negative index accesses items from the end of container counting backwards.
For ex. with [1,-1] range it will erase everything except the first item- Found in:
- JContainers
Erase all elements of given value. Returns the number of erased elements.
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
Returns type of the value at the @index. negative index accesses items from the end of container counting backwards.
0 - no value, 1 - none, 2 - int, 3 - float, 4 - form, 5 - object, 6 - string- Found in:
- JContainers
Exchanges the items at @index1 and @index2. negative index accesses items from the end of container counting backwards.
- Found in:
- JContainers
Sorts the items into ascending order (none < int < float < form < object < string). Returns the array itself
- Found in:
- JContainers
Sorts the items, removes duplicates. Returns array itself. You can treat it as JSet now
- Found in:
- JContainers
Reverse the order of elements. Returns the array itself.
- Found in:
- JContainers
boolfunctionwriteToIntegerPArray(intobject, int[]targetArray, intwriteAtIdx=0, intstopWriteAtIdx=-1, intreadIdx=0, intdefaultRead=0)NativeGlobalWrites 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- Found in:
- JContainers
boolfunctionwriteToFloatPArray(intobject, float[]targetArray, intwriteAtIdx=0, intstopWriteAtIdx=-1, intreadIdx=0, floatdefaultRead=0.0)NativeGlobal- Found in:
- JContainers
boolfunctionwriteToFormPArray(intobject, Form[]targetArray, intwriteAtIdx=0, intstopWriteAtIdx=-1, intreadIdx=0, FormdefaultRead=NONE)NativeGlobal- Found in:
- JContainers
boolfunctionwriteToStringPArray(intobject, string[]targetArray, intwriteAtIdx=0, intstopWriteAtIdx=-1, intreadIdx=0, stringdefaultRead="")NativeGlobal
