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
    * Object functions and properties

Name property (object)

(Formerly known as GetObjectName, which is now obsolete)
(Formerly known as Object.GetName, which is now obsolete)

readonly String Object.Name;
Gets the name of the object.

NOTE: This property is read-only. It is not currently possible to change the name of an object at run-time.

Example:

Display("Object 0's name is %s.", object[0].Name);
will retrieve and then display object 0's name.

See Also: Game.GetLocationName


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