Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: magintz on Thu 21/08/2003 13:28:59

Title: Change Hotspot Name
Post by: magintz on Thu 21/08/2003 13:28:59
How do I do this? I want a hotspot's name to be bottles at one point, and when you look at them the description changes to Whiskey?

Can this be done? If so, how?
Title: Re:Change Hotspot Name
Post by: TerranRich on Thu 21/08/2003 15:35:21
This question was asked in the beginners' forum, and we haven't found a way yet.
Title: Re:Change Hotspot Name
Post by: on Thu 21/08/2003 18:49:27
Maybe you can do following:

Look at object---
                         |
                         --- Object - Remove an object from the room(0)
                         |
                         --- Object - Switch an object back on(1)

Object 0 is named "bottles" and obj.1 is named "whiskey".
Use the same picture for both obj. at the same position.
Title: Re:Change Hotspot Name
Post by: Pumaman on Thu 21/08/2003 18:52:00
This is not currently possible, but it is on my to-do list. A workaround like Jonas suggested is the only way to do it at present.
Title: Re:Change Hotspot Name
Post by: Joseph DiPerla on Fri 22/08/2003 20:40:54
What if you used variables, like if variablespot1 = 1 its name will be hotdog when the mouse is over it, if it is 2, it will be hamburger etc...

Maybe for now you can use var's and when the mouse is on the hotspot.

But an easy function would be good.

JD