Difference between revisions of "SetName - Form"
Jump to navigation
Jump to search
m
style
imported>Tania (Added F4SE member page SetName.) |
imported>Qazaaq m (style) |
||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Function SetName( | Function SetName(string name) Native | ||
</source> | </source> | ||
== Parameters == | == Parameters == | ||
* name: The new name of this form. | |||
== Return Value == | == Return Value == | ||
None | None | ||
== Examples == | == Examples == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
; Get the name of an object and change another object's name to that one. | ; Get the name of an object and change another object's name to that one. | ||
string ObjName = FirstObj.GetName() | |||
SecondObj.SetName(ObjName) | SecondObj.SetName(ObjName) | ||
</source> | </source> |