Difference between revisions of "SetActorFullName"

From GECK

m
(function uses MessageID not string literal)
Line 1: Line 1:
 
'''Syntax:'''
 
'''Syntax:'''
  SetActorFullName "New Name"
+
  SetActorFullName MessageID
 
'''Example:'''
 
'''Example:'''
  SetActorFullName "My Favorite Horse"
+
  SetActorFullName NamedActorHarold
  
  
Changes the actor's name (display name) to the specified text. Note that while the function is called on a reference, it actually changes the name of the base object, so all instances of that NPC/creature will have a new name.
+
Changes the actor's name (display name) to the text of the specified [[Message]]. Note that while the function is called on a reference, it actually changes the name of the base object, so all instances of that NPC/creature will have a new name.
  
 
==Notes==
 
==Notes==
 
*SetActorFullName can also be used on a talking activator.
 
*SetActorFullName can also be used on a talking activator.
  
[[Category: Functions]]
+
[[Category:Functions]]
[[Category: Miscellaneous Functions]]
+
[[Category:Miscellaneous Functions]]
 
[[Category:Actor Functions]]
 
[[Category:Actor Functions]]
 
[[Category:Godsend Functions]]
 
[[Category:Godsend Functions]]

Revision as of 19:19, 19 December 2008

Syntax:

SetActorFullName MessageID

Example:

SetActorFullName NamedActorHarold


Changes the actor's name (display name) to the text of the specified Message. Note that while the function is called on a reference, it actually changes the name of the base object, so all instances of that NPC/creature will have a new name.

Notes

  • SetActorFullName can also be used on a talking activator.
Personal tools