turning a hotspot on in another room (SOLVED)

Started by FartyPenguin, Thu 22/11/2007 23:35:34

Previous topic - Next topic

FartyPenguin

A few months ago I started using AGS and liked it, but I had to stop after a very short time due to problems with my computer. Now, I find the programme on my computer and decided to start using AGS again and try to finish what I started.

Anyway, here goes my question, and I will try to word it as best as I can. I have a a statue in room 1, it can only be observed (which displays a basic message). When I go into another room and press a specific switch, it allows the same statue to be talked too and can now be interacted with. Both the statue and the switch are just parts of my background so I have to use Hotspots (I think). However, the only way I can find to do what I am trying to do is add an inventory item once the switch is pressed, then have it removed once used on the statue; but I don't want anything to go in the inventory, I just want it to just happen... Any tips on how to do this?

Khris

From the BFAQ, which you're supposed to read before posting here:
QuoteNOTE: Please keep the following in mind. Most of our problems can be easily solved using variables. Need to change a hotspot's state in another room? Use variables! [...]
It's funny how the very first example hits your problem right on the head.
Actually, it isn't.

Make sure to check out this page, too.

Ashen

Beaten to it again. Curse you, KhrisMUC :)

FartyPenguin, as Khris (and the BFAQ) said: use variables. Just check the value instead of whether the player has the Inventory Item, and you're good.

If this is something you're going to be doing a lot, strazer's OtherRoom module might be of use.

Also, use descriptive thread titles, please.
I know what you're thinking ... Don't think that.

FartyPenguin


SMF spam blocked by CleanTalk