SetName - Form
Jump to navigation
Jump to search
F4SE member of: Form Script
Requires F4SE version 0.3.1 or higher.
Sets the name of the form to the passed in string.
Syntax[edit | edit source]
Function SetName(string name) Native
Parameters[edit | edit source]
- name: The new name of this form.
Return Value[edit | edit source]
None
Examples[edit | edit source]
; Get the name of an object and change another object's name to that one.
string ObjName = FirstObj.GetName()
SecondObj.SetName(ObjName)
Notes[edit | edit source]
- 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.