Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: NaStY_FrEaK on Sat 26/07/2003 08:56:08

Title: Dialog problem
Post by: NaStY_FrEaK on Sat 26/07/2003 08:56:08
I have problem with the dialog and run script commands.
In my game I want to finish the dialog and then to move my  character to a new room,but when I use Run dialog,and then NewRoomEx, My character disappears immediately after the dialog starts ???
I hope you undestand me ;D
Title: Re:Dialog problem
Post by: Wolfgang Abenteuer on Sat 26/07/2003 09:20:08
You could try something like this:

@S
return
@1
character: blahblahblah
run-script 1

function dialog_request(int value) {
if (value == 1) {
NewRoomEx(2,160,100);
}
}

Or is that how you already have it?

~Wolfgang
Title: Re:Dialog problem
Post by: NaStY_FrEaK on Sat 26/07/2003 09:41:17
Thankz It  helped me ;D