Difference between revisions of "ResizeIntArray - Utility"

83 bytes added ,  17:44, 12 July 2023
no edit summary
(Created page with "Category:Scripting Category:Papyrus '''Member of:''' Utility Script Resizes an already existing array of Int values to the specified length. <br> '''Be careful wh...")
 
Line 12: Line 12:


== Parameters ==
== Parameters ==
* source: an existing array of int values (can have unspecified length).
* source: an existing array of int values.
* size: new size of the array.
* size: new size of the array.
* fill: a value to fill the array with.
* fill: a value to fill the array with.
Line 26: Line 26:
pointsArray = Utility.ResizeIntArray(pointsArray, Game.GetPerkPoints(), 9)
pointsArray = Utility.ResizeIntArray(pointsArray, Game.GetPerkPoints(), 9)
</source>
</source>
== See Also ==
* No need to actually create an array with '''''new''''', declaring an array variable is enough.


== See Also ==
== See Also ==
*[[Utility Script]]
*[[Utility Script]]
71

edits