Difference between revisions of "SetActorFullName"
Jump to navigation
Jump to search
imported>Quetzilla (function uses MessageID not string literal) |
imported>BonzoFSP (Indicate that the title, not the text, of the message is used.) |
||
Line 5: | Line 5: | ||
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. | Changes the actor's name (display name) to the title (not 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== |
Revision as of 16:04, 6 April 2009
Syntax:
SetActorFullName MessageID
Example:
SetActorFullName NamedActorHarold
Changes the actor's name (display name) to the title (not 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.