Background for Skyrim SE
Member of the DbMiscFunctions script
voidfunctionSwapStrings(string[]akArray, intIndexA, intIndexB)Global

Description

Documentation Comment

Swap==============================================================================
Swap the element at IndexA with the element at IndexB in the akArray
The V functions (V for validate) will first clamp the indexes between 0 and the last available index in the akArray first before swapping.
If you know for sure that the indexes are in bounds, use Swap as it's faster. If you don't know for sure, use SwapV or you might get none entries.


Parameters

  1. string[]akArray

  2. intIndexA

  3. intIndexB


Examples

Auto-Generated Example

string[] myStringArray__akArray
int myInt__IndexA
int myInt__IndexB

DbMiscFunctions.SwapStrings(myStringArray__akArray, myInt__IndexA, myInt__IndexB)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.