Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: alexhans on Mon 03/10/2005 23:59:10

Title: relation between dialogs and functions
Post by: alexhans on Mon 03/10/2005 23:59:10
Excuse me if it is a silly question but Ive been trying to run a certain function after a dialog and I havent succeded.  I go to the dialog script editor and write what they say for example:

ROBIN: "Can you shoot me?"
GRANPA: "Yes I can"

And I want to have Grandpa animated (with the animation I already created and looks good) and shoot his grandson.  I dont know how to link the dialog script to the room script.  If someone can tell me the way to do it I will be forever thankfull

Alexhans
Title: Re: relation between dialogs and functions
Post by: strazer on Tue 04/10/2005 00:02:28
AGS Beginners FAQ (http://americangirlscouts.org/agswiki/Scripting%2C_Code_%26_Interaction#Running_regular_code_inside_dialog)

Or search the forum (http://www.adventuregamestudio.co.uk/yabb/index.php?action=search) for "run-script" and/or "dialog_request".
Title: Re: relation between dialogs and functions
Post by: Ashen on Tue 04/10/2005 02:21:55
This question was just asked (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=22822.0) a few days ago, and should've come up in a search. Please, as strazer said, read the BFAQ (http://bfaq.xylot.com) and use the forum search before you post next time.