Description
Wiki Description
Adds an association between the given string and the given form for text replacement usage.
Documentation Comment
Adds the given text replacement pair to this ref
Parameters
stringasTokenLabel
CK Wiki Description
Label for token to be replaced
FormakForm
CK Wiki Description
Form to use to replace token [NOTE:this does NOT work for references]
Examples
; Store data so <Token.Name=Owner> displays the name of the NPC in OwnerNPC
AddTextReplacementData("Owner", OwnerNPC)Auto-Generated Example
string myString__asTokenLabel
Form myForm__akForm
myObjectReference__toCallFunctionOn.AddTextReplacementData(myString__asTokenLabel, myForm__akForm)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
