Background for Skyrim SE
Member of the PapyrusUtil script
float[]functionGetDiffFloat(float[]ArrayValues1, float[]ArrayValues2, boolCompareBoth=false, boolIncludeDupes=false)NativeGlobal

Description

Documentation Comment

Get an array of values from ArrayValues1 that ARE NOT among the values of ArrayValues2. Duplicates are removed by default.

Setting CompareBoth = true will change the behavior to also include the reverse comparison of ArrayValues2 values that are not present in ArrayValues1.

Setting IncludeDupes = true will allow the resulting array to include duplicate entries of the same value if they were also duplicated in the input arrays.


Parameters

  1. float[]ArrayValues1

  2. float[]ArrayValues2

  3. boolCompareBoth=false

  4. boolIncludeDupes=false


Examples

Auto-Generated Example

float[] myFloatArray__ArrayValues1
float[] myFloatArray__ArrayValues2
bool myBool__CompareBoth
bool myBool__IncludeDupes

float[] returnedValue = PapyrusUtil.GetDiffFloat(myFloatArray__ArrayValues1, myFloatArray__ArrayValues2, myBool__CompareBoth, myBool__IncludeDupes)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.