Confusion with re-entering room? (SOLVED)

Started by Lazarus, Wed 20/07/2005 19:14:26

Previous topic - Next topic

Lazarus

I have a problem as follows:

I have a room which has 2 exits to other rooms.Ã, 

In this main room I have setup for exit number 1 (a hotspot) to become enabled when an inventory item is used and a dialog is run.Ã,  This is fine and I can leave the main room through exit 1 and come back in using this hotspot.Ã,  The exit remains enabled.

The problem I have is if I use the inventory item and the dialog is run to enable the hotspot (above) and don't go through the hotspot but instead go to exit no. 2 (which is also a hotspot into another room) and then come back to my main room then exit no. 1 (hotspot) is then disabled!

Sorry this is so confusing but I have no clue as to how to do this!

I thought it might be a conditional thing but I don't see how to do it ....
*Currently using AGS Editor 2.70 (Build 2.70.601)*

strazer

Quote from: Lazarus on Wed 20/07/2005 19:14:26In this main room I have setup for exit number 1 (a hotspot) to become enabled when an inventory item is used and a dialog is run.

Since hotspots are enabled by default, you had to disable it first, right?
If you do this in the "Player enters screen" interaction, of course it will be disabled again when you re-enter the room.
Try putting this code/interaction editor command into the "Player enters screen for the first time" interaction of the room.

Lazarus

Thanks strazer!

Worked a treat, still learning the basics I think ..

thanks again  :)
*Currently using AGS Editor 2.70 (Build 2.70.601)*

strazer


SMF spam blocked by CleanTalk