Background for Skyrim SE
Member of the clib script
boolfunctioncFLReplaceValue(FormListaFormlist, FormreplaceThis, FormwithThis, boolforceAdd=false)Global

Description

Documentation String

Requirements: None

Documentation Comment

Bool return is whether or not the replaced value is still there (can only remove ADDED forms)
forceAdd forces the value to be added even if replaceThis can't be removed
a return of TRUE == success, False == failed


Caveats


Parameters

FormListaFormlist

FormreplaceThis

FormwithThis

boolforceAdd=false


Examples

Auto-Generated Example

FormList myFormList__aFormlist
Form myForm__replaceThis
Form myForm__withThis
bool myBool__forceAdd

bool returnedValue = clib.cFLReplaceValue(myFormList__aFormlist, myForm__replaceThis, myForm__withThis, myBool__forceAdd)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.