Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: heirofmaul on Mon 02/04/2007 00:52:27

Title: Character Name Change After Introductions
Post by: heirofmaul on Mon 02/04/2007 00:52:27
Ok, here's a tricky-ish but important one.  Is it possible to change a non-player character's name during the game so that it appears different after speaking with them.  For example, say there is a character labeled simply "man", you talk to him and learn his name is Bob, so the next time you run the cursor over him, it now says "Bob".  Can this be done and could someone please explain how?  Thanks.
Title: Re: Character Name Change After Introductions
Post by: Ashen on Mon 02/04/2007 01:10:02
Not tricky at all, in fact it's in the BFAQ (http://americangirlscouts.org/agswiki/Scripting%2C_Code_%26_Interaction#Changing_the_names_of_characters.2C_hotspots.2C_objects.2C_and_inventory_items_in_the_middle_of_gameplay).