Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: ktalebian on Sat 25/02/2006 02:11:15

Title: Item invisible
Post by: ktalebian on Sat 25/02/2006 02:11:15
Hi, so, you know how when you upload an object, you can set it being invisible first? How do I make it visible? How do I then make it invisible again? thx
Title: Re: Item invisible
Post by: Gilbert on Sat 25/02/2006 02:51:42
"Uploading" an object? Did you mean creating an object in a room?

In that case just uncheck the "Object is initially visible" checkbox. To turn it on/off within a game use the Object.Visible property.

For example:
object[5].Visible = true; //turns an object on

object[5].Visible = false; //turns an object off

Please read the manual for more details.