- Found in:
- PapyrusUtil
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
float[]ArrayValues1
float[]ArrayValues2
boolCompareBoth=false
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)