Difference between revisions of "SetName - Form"
Jump to navigation
Jump to search
imported>Tania (Added F4SE member page SetName.) |
(No difference)
|
Revision as of 23:18, 14 May 2017
F4SE member of: Form Script
Sets the name of the form to the passed in string. Requires F4SE 0.03.1.
Syntax
Function SetName(String name) Native
Parameters
Name: New name of this form.
Return Value
None.
Examples
; Get the name of an object and change another object's name to that one.
String ObjName = FirstObj.GetName()
SecondObj.SetName(ObjName)
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.