wait for dialog to finish, then animate

Started by akalien, Sun 07/03/2004 00:35:02

Previous topic - Next topic

akalien

Hello,  This is my first game with AGS, and I've run into a slight snag.  What I'm trying to do is run a dialog and AFTER its finished, to start animating some objects and characters,  I've tried some different things but the animation always starts in the middle of the dialog.  The only way I've gotten it to work is if I place a hotspot over the entire room and run my script under "any click on hotspot".  Is their a way to start animating AFTER a diolog?         please help, and thank you for your time.

???

Scorpiorus

Hello and welcome to the forums,

If you run a dialog from the interaction editor put a run-script command just after the Run Dialog action:
_
|
|__Game - Run Dialog (*)
|__Run script

Next, click on Edit script... button and type-in appropriate animation commands:

SetCharacterView(...);
AnimateCharacter(...);
SetObjectView(...)
AnimateObject(...)
etc.

How does it turn out?

akalien

Ironically, it seems I tried everything but that.  My problem was that I was trying to run dialog and animate ing the same script.
 Its works perfectly.  Thanks :)

SMF spam blocked by CleanTalk