Order of commands in interaction [SOLVED]

Started by Freydall, Sun 06/03/2005 00:23:56

Previous topic - Next topic

Freydall

Here is my problem.
In the talk to interaction of one of my NPCs I have tried to make it so it will 'run dialog X, then change variable X to X, run quick animation 1 and run quick animation 2'.
When I tested the game however. When you talked to him. It would run animations 1 and 2 and then run dialog. Why is this? and how can I change it so it will be in the order I mentioned at the top?
AEscplega is the best epic ever. Chapter I is finally finished and Chapter II is on it's way.

Ashen

As you've discovered RunDialog commands aren't actually executed until the end of the script (why, I have no idea, but someone else can probably tell you*). You need to split your commands across 2 run scripts - one containing anim 1 and the RunDialog and the second containing anim2.

* Possibly this page.
I know what you're thinking ... Don't think that.

Freydall

It works now. Each step I take, I am closer to my goal of making the best ever game with AGS!
AEscplega is the best epic ever. Chapter I is finally finished and Chapter II is on it's way.

SMF spam blocked by CleanTalk