Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Mr Jake on Sun 01/06/2003 21:03:46

Title: Grr.. I h8 asking simple questions but I need help running dialogs on room load.
Post by: Mr Jake on Sun 01/06/2003 21:03:46
for my intro Im having a dramatic black backscreen story, Im having various pictures (objects) appear during this, as far as I can tell the only way I can do this is too have the convos split where the objects come in (ie: 3 line convo, object, 3 line convo) so I did it this way and then I tried putting :

RunDialog (0);
ObjectOn (0);
RunDialog (1);

in the room script, since this is just a black room there is no other script... um... this dont work..... how can I do this?
Title: Re:Grr.. I h8 asking simple questions but I need help running dialogs on room lo
Post by: Nixxon on Mon 02/06/2003 03:19:50
I'm a lamo at scripting... so can't help you there.
though, u could always use a bunch of GUI's using text labels and button pics.

GUIOn(2):
wait(180):
GUIOff(2):

I dunno, could work :P
Title: Re:Grr.. I h8 asking simple questions but I need help running dialogs on room lo
Post by: Mr Jake on Mon 02/06/2003 08:09:04
dunno, dont think it will 'paste' together right, Ill try....
thanks ;D
I got it to work :) needed to add a few extra line to the dialog to stop it from looking for dislog options when there where non...
thxs
Title: Re:Grr.. I h8 asking simple questions but I need help running dialogs on room lo
Post by: Stickieee on Mon 02/06/2003 11:51:29
You could also use the run-script X conversation-feature, so you wouldn't have to split the dialog in two. I'm not sure which ones clumsier. Inline-scripting in conversations could be quite handy.
Title: Re:Grr.. I h8 asking simple questions but I need help running dialogs on room lo
Post by: Mr Jake on Mon 02/06/2003 12:40:30
I dont think you can turn object on in dialog script....
Title: Re:Grr.. I h8 asking simple questions but I need help running dialogs on room lo
Post by: Ishmael on Mon 02/06/2003 13:05:35
Not in dialog scirpt, but the run-script x dialog command calls the dialog_request in the global script... see the conversations-part in the setting up the game in the manual (right?)
Title: Re:Grr.. I h8 asking simple questions but I need help running dialogs on room lo
Post by: Mr Jake on Mon 02/06/2003 13:15:28
thats what I mean, I dont think you can call it then because its room dependant, on the list in the manual nothing about objects is there
Title: Re:Grr.. I h8 asking simple questions but I need help running dialogs on room lo
Post by: Ishmael on Mon 02/06/2003 13:20:41
It should work... the manual says, that the ObjectOn command turns on the specified object in the current room...
Title: Re:Grr.. I h8 asking simple questions but I need help running dialogs on room lo
Post by: SSH on Mon 02/06/2003 13:38:27
Is it actually a dialog, or just a bunch of talking? I mean, could you just use a bunch of messages or displayspeech to do the dialog, or do you need the user to decide on dialog options?