Background for Skyrim SE
Member of the DynamicActorArrays script
Actor[]functionRemove(Actor[]akArray, ActorToRemove, boolFirst=true)

Description

Documentation Comment

Find the ToRemove element in the akArray and remove it, returning the shortened array.
If First == true (default) finds first instance of ToRemove, otherwise finds last instance of ToRemove (rFind)


Caveats


Parameters

Actor[]akArray

ActorToRemove

boolFirst=true


Examples

Auto-Generated Example

Actor[] myActorArray__akArray
Actor myActor__ToRemove
bool myBool__First

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