SetName - Form

F4SE member of: Form Script
Requires F4SE version 0.3.1 or higher.

Sets the name of the form to the passed in string.

SyntaxEdit

Function SetName(string name) Native

ParametersEdit

  • name: The new name of this form.

Return ValueEdit

None

ExamplesEdit

; Get the name of an object and change another object's name to that one.
string ObjName = FirstObj.GetName()
SecondObj.SetName(ObjName)

NotesEdit

  • 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.

See AlsoEdit