Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Wed 23/08/2006 21:23:22

Title: how to open new map sections?
Post by: on Wed 23/08/2006 21:23:22
Hi everyone!

I need your help to solve a problem with Adventure Game Studio.

I don't know how to trigger an event or hotspot in an area after picking up an item,
solving a puzzle or speaking with someone in another place.

For example: I want a new area to be available in the world map after getting an object
in an especific zone.

Or, how to make an item or hotspot to appear when having X item in the inventory.

Sorry for my English, i hope you understand the text.

Thanks in advance for your answers.
Title: Re: how to open new map sections?
Post by: Candle on Wed 23/08/2006 21:43:40
Hope this helps. you could do after fadein too if you like I guess.

(http://img228.imageshack.us/img228/7910/invyn4.jpg)
Title: Re: how to open new map sections?
Post by: Khris on Wed 23/08/2006 21:50:54
There's only one answer to all of your questions: variables (http://americangirlscouts.org/agswiki/index.php/Scripting%2C_Code_%26_Interaction#Working_with_variables:_the_basics).
Title: Re: how to open new map sections?
Post by: Nathan23 on Wed 23/08/2006 23:38:13
Yeah.. make sure if you use Globalint variables that you coment the code where you will use the variable and know what store  this variable.. I like label variables (with a name) and not a simple slot.. if you don't have problem with this.. be free to use it. ;)
Title: Re: how to open new map sections?
Post by: on Thu 24/08/2006 11:40:40
Thanks a lot, i really appreciate your help.