Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Fri 12/05/2006 20:18:30

Title: Renaming object/hotspots
Post by: on Fri 12/05/2006 20:18:30
Read in older posts that its not possible to rename objects and hotspost using the script during game play....

but then the AGS beginners FAQ tells you it is in the later versionis of AGS (2.7)

BFAQ Link (http://americangirlscouts.org/agswiki/index.php/Scripting%2C_Code_%26_Interaction#Changing_the_names_of_characters,_hotspots,_objects,_and_inventory_items_in_the_middle_of_gameplay)

but I still get the read-only error thingi!?

thanks for any tips

/ frustraded

EDITED: to shorten link.
Title: Re: Renaming object/hotspots
Post by: Ashen on Sat 13/05/2006 01:59:25
If you read that BFAQ entry, it doesn't actually mention renaming hotspots or objects in 2.7+, only Inventory and characters. And, if you READ THE MANUAL it says that Hotspot.Name and Object.Name are read-only.
So, you still can't re-name Hotspots or Objects in game, without scripting around it (using another String to store the name).