Could someone remind me please how to change a characters' descriptive name in game?
Thanks
Character.Name ?
OverHotspot label .... Real name..
Quote from: Slasher on Fri 04/09/2020 11:51:30
OverHotspot label .... Real name..
Character.Name in script corresponds to "Description" label in the editor.
From the manual:
Quote
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.
Hi
used: cWyatt.Name="Golden Scorpion";
but does not show any name...
Does not show any name? Then the issue is that it doesn't show the name.
That line, if it is called during the game, will definitely change the description as shown by @OVERHOTSPOT@ or GetLocationName().
Quote from: Khris on Fri 04/09/2020 12:46:34
Does not show any name? Then the issue is that it doesn't show the name.
That line, if it is called during the game, will definitely change the description as shown by @OVERHOTSPOT@ or GetLocationName().
I set it in Room Load.... hover over it does not show name as shown on label... over chars ok..
Edit: Changed to a different character and it works.... strange is life ;)
cheers
What is "it"?
Again, if hovering over cWyatt doesn't show anything, then the issue is something else, like the character being covered by a transparent GUI or what have you.
If it doesn't show the original name while hovering either, why would you expect AGS to show the new name if nothing else has changed?
Solved as in my post above...
cheers....