- Found in:
- F4SE
Description
Wiki Description
Sets the name of the form to the passed in string.
Documentation Comment
sets the name of the form
Caveats
CK Wiki - Notes
- For actors and object references, must be used on the base object.
- If calling on an actor, use a unique one.
- May affect all instances of the form.
Parameters
stringname
CK Wiki Description
The new name of this form.
Examples
; Get the name of an object and change another object's name to that one.
string ObjName = FirstObj.GetName()
SecondObj.SetName(ObjName)Auto-Generated Example
string myString__name
myForm__toCallFunctionOn.SetName(myString__name)Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
