Background for Skyrim SE
Member of the JAtomic script
intfunctioncompareExchangeObj(intobject, stringpath, intdesired, intexpected, boolcreateMissingKeys=false, intonErrorReturn=0)NativeGlobal


Caveats


Parameters

intobject

stringpath

intdesired

intexpected

boolcreateMissingKeys=false

intonErrorReturn=0


Examples

Auto-Generated Example

int myInt__object
string myString__path
int myInt__desired
int myInt__expected
bool myBool__createMissingKeys
int myInt__onErrorReturn

int returnedValue = JAtomic.compareExchangeObj(myInt__object, myString__path, myInt__desired, myInt__expected, myBool__createMissingKeys, myInt__onErrorReturn)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.