Background for Skyrim SE
Member of the DynamicActorArrays script
Actor[]functionResize(Actor[]akArray, intNewSize, ActorFill=NONE)

Description

Documentation Comment

Resize akArray to NewSize and return New Array.
If NewSize is less than current size, removes elements after NewSize in akArray.
If NewSize is greater than current size, the Fill element to the end of the akArray.


Caveats


Parameters

Actor[]akArray

intNewSize

ActorFill=NONE


Examples

Auto-Generated Example

Actor[] myActorArray__akArray
int myInt__NewSize
Actor myActor__Fill

Actor[] returnedValue = myDynamicActorArrays__toCallFunctionOn.Resize(myActorArray__akArray, myInt__NewSize, myActor__Fill)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.