Dialog Scripting--Is it really this difficult?

Started by Revonx, Tue 23/09/2008 20:51:45

Previous topic - Next topic

Revonx

The problems just seem to come from all directions when it comes to dialog.

1st problem: Can't get a simple script to work. It doesn't play @1 even when all the essentials are there, it just skips straight to ROOM 4.

// dialog script file
@S  // dialog startup entry point
return
@1  // option 1
new-room 4
stop

2nd Problem: When it does get to room 4 the player character ends up in some crazy XY coordinates (Up in the top left corner) I've been looking in tutorials for and haven't found much except a module ( claiming to fix this) which I couldn't correctly set up.

There are more problems, but I think this is enough to deal with for now. Thankyou in advance.

Khris

If this is the complete script, it's no wonder the player is sent to room 4 right away.
There's only one option, so AGS doesn't let you choose it (since you don't have a choice anyway).

About the second problem: you can either fix the player's position in room 4's before fadein, or look into dialog_request and use player.ChangeRoom(4, x, y);

Revonx

Quote from: KhrisMUC on Tue 23/09/2008 21:11:21
If this is the complete script, it's no wonder the player is sent to room 4 right away.
There's only one option, so AGS doesn't let you choose it (since you don't have a choice anyway).

About the second problem: you can either fix the player's position in room 4's before fadein, or look into dialog_request and use player.ChangeRoom(4, x, y);

Thanks man, really appreciate it.

SMF spam blocked by CleanTalk