Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: tiagocorreia on Wed 31/05/2006 19:06:46

Title: Problem with PopupModal GUI (SOLVED)
Post by: tiagocorreia on Wed 31/05/2006 19:06:46
Hi,

I think I've found a strange bug with GUIs.
I've tried this several times in my game with multiple combinations to isolate this problem:

When I have a GUI Popup Modal, if I try to use player.FaceCharacter or FaceLocation, using eBlock, for some reason the script stops on that line. I tried this on the first time player enter on room.
If I change the GUI to Normal then it works fine.

Strange bug, uh?
Title: Re: Bug on PopupModal GUI
Post by: Pumaman on Wed 31/05/2006 20:10:23
If a Popup Modal GUI is displayed, the game will be paused in the background, thus any blocking script call such as FaceLocation, Walk or Animate will block until the game is un-paused.

This isn't a bug, this is the whole point of having a popup modal GUI. If you don't want the game to pause, use a Normal GUI instead.
Title: Re: Bug on PopupModal GUI
Post by: tiagocorreia on Thu 01/06/2006 10:08:10
Thanks.