Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: steril on Sat 21/08/2010 14:10:13

Title: Making Quest Log Gui Script
Post by: steril on Sat 21/08/2010 14:10:13
Hi guys was going well recently but then I decided to make a quest log gui. But I'm new at this job and I'm a bit confused about scripting. (I read the manual, but that didn't help me at this.)

The thing is; I talk to someone and when I choose an option in the dialog. I want to add a quest to the quest log gui. By the way, which gui should I use for quest log, and that script?
Thanks for any advices.
Title: Re: Making Quest Log Gui Script
Post by: Virgil on Sat 21/08/2010 14:40:53
Take advantage of the Journal Module. (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=27158.0) I'tll probably do everything you need it to.
Title: Re: Making Quest Log Gui Script
Post by: steril on Sat 21/08/2010 15:31:48
thanks it helped a lot.    :D
Title: Re: Making Quest Log Gui Script
Post by: steril on Sat 21/08/2010 15:33:35
but I think it'll take time to get it  :-\
Title: Re: Making Quest Log Gui Script
Post by: Virgil on Sat 21/08/2010 15:39:07
Oh it won't be easy, but better than writing your own code.
Title: Re: Making Quest Log Gui Script
Post by: steril on Sat 21/08/2010 21:23:34
I dont understand; I cant start it with "if" . Can you help me, any examples please? :'(
Title: Re: Making Quest Log Gui Script
Post by: Khris on Sun 22/08/2010 09:28:30
Commands need to be inside functions.

Say you created a GUI and added a button to it. If you double-click the button in the GUI editor, AGS creates an empty function and puts the name in the on click event field.
In that function, between { and }, you can now put script commands.
Title: Re: Making Quest Log Gui Script
Post by: steril on Sun 22/08/2010 20:42:43
Thanks!  ;D