Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Black Guard on Wed 05/10/2005 11:37:33

Title: object help and message behing inventory box
Post by: Black Guard on Wed 05/10/2005 11:37:33
hey,
I have table in the middle of a room which is part of the background, that has a walk-behind mask. I put an object on it but when i test the game it appears (well its hiding behind the table) behind the table. how do i make the object appear on a higher 'layer'?

Also, i used the default template for my game and the 'display text as speech' option, when i go to the inventory screen and 'look' at an inventory object, the text appears behind the inventory box. how do i fix this?
thanks
Title: Re: object help and message behing inventory box
Post by: Ashen on Wed 05/10/2005 11:48:08
Change the object's baseline to be below the walkbehind's (probably the bottom of the table).

The second question has been asked a number of times before (Do a forum search (http://www.adventuregamestudio.co.uk/yabb/index.php?action=search)), and the short answer is, you can't. You either need to turn the Inventory GUI off, display the text, then turn it back on, or use DisplayAt/DisplayAtY to position the text away from the GUI. The search may turn up some other ideas, though.
Title: Re: object help and message behing inventory box
Post by: Black Guard on Wed 05/10/2005 12:01:16
Thanks, but i've tried changing the baseline for the walk-behind and the object for a while and it hasnt worked which is why i posted. do i need to reset the tables walk-behind baseline? if so how exactly?
thanks
Title: Re: object help and message behing inventory box
Post by: Wretched on Wed 05/10/2005 15:29:30
Set the table baseline first so your character walks around it correctly, then put the object base line just below (i.e. further forward of) the tables baseline.
Title: Re: object help and message behing inventory box
Post by: Black Guard on Thu 06/10/2005 11:00:17
I worked out what was wrong. Under the name box in Objects I put in a script name and it worked properly! Some sort of bug?