spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

 

spacer graphic
Menu
spacer graphic Home
About
News
Features
Download AGS
spacer graphic Games 
Games main page
Award Winners
Picks of the month
Short games
Medium length games
Full length games
In Production
Hints & Tips
Community
Forums
AGSers World Map
Member websites
Chat
Resources
Tutorials
FAQ
Knowledge Base
Downloads
Links
AGS-related links
* AGS Manual
  * Scripting
    * Character functions and properties

Name property (character)

(Formerly known as character[].name, which is now obsolete)

String Character.Name
Gets/sets the name of the character, as set in the AGS Editor. This is the full name, not the script name.

Note that character names are limited to 40 characters, so if you set the name it will be truncated to that length.

Example:

Display("You are controlling %s.", player.Name);
will display the name of the player character

User comments and notes
There are currently no user comments on this page.
The user comment facility is currently disabled.