Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Dariago on Tue 26/01/2021 09:46:37

Title: Manage variables outside a single game scope
Post by: Dariago on Tue 26/01/2021 09:46:37
Hi All,
I have the following scenario:
I want to create a main menu (start game, load game, credits etc) as the first game page ("room").
Now, in case the game was successfully finished in the past, (not necessarily in this gaming instance. It can be whenever in the past) I want to add another options to the menu.
This means I need to keep this info outside the 'game scope'. right?
Do you have any ideas how to implement this?
For example - mainatin some file where I can change this parameter using some code in the AGS editor... Does AGS supports creating and updating files?

Thanks!
Title: Re: Manage variables outside a singal game scope
Post by: Khris on Tue 26/01/2021 10:46:49
Absolutely: https://www.adventuregamestudio.co.uk/manual/ags52.htm#topic51
Title: Re: Manage variables outside a singal game scope
Post by: Dariago on Tue 26/01/2021 12:33:30
Thanks!