1,482
edits
(Persistence with save game) Tags: Mobile edit Mobile web edit |
m (Convert source tags to syntaxhighlight) |
||
| Line 6: | Line 6: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Bool Function SetDisplayName(String asName, Bool abForce) native | Bool Function SetDisplayName(String asName, Bool abForce) native | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 18: | Line 18: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
; rename the amulet | ; rename the amulet | ||
If myAmuletOfTalos.SetDisplayName("Amulet of the Ninth Divine", False) == False | If myAmuletOfTalos.SetDisplayName("Amulet of the Ninth Divine", False) == False | ||
Debug.Trace("Failed to rename the amulet. A quest alias may already be renaming it.") | Debug.Trace("Failed to rename the amulet. A quest alias may already be renaming it.") | ||
EndIf | EndIf | ||
</ | </syntaxhighlight> | ||
== Notes == | == Notes == | ||