Dialog command for animations? [SOLVED]

Started by Anarcho, Wed 12/01/2005 04:18:17

Previous topic - Next topic

Anarcho

Is there a dialog command that will run an animation in the middle of a dialog?  For example, in the middle of a dialog, I want EGO to hand another character a letter. and then continue the dialogue.  Do I have to stop the animation, run a quick animation like normal, and then start a different dialogue topic or something?

As usual, I hope this isn't a stupid question...



Gilbert

Hmmm I think you must use run-script to launch dialog_request().

Candle

run-script X
Runs global text script function "dialog_request", with X passed as the single parameter. This allows you to do more advanced things in a dialog that are not supported as part of the dialog script. The "dialog_request" function should be placed in your game's global script file, as follows:

  function dialog_request (int xvalue) {
    // your code here
  }


Anarcho

Oh, I didn't know you could do a run-script in a dialog.  Is it in the help file?  I haven't seen it. 

Thanks guys, I'll try this out tomorrow night and check back.



Candle


Anarcho

#5
curses...you're right.  I've looked at that conversation section so many times, I could have sworn it wasn't there.  Sorry!


TerranRich

AND it's in the BFAQ. Shame on you! SHAME!! :P
Status: Trying to come up with some ideas...

SMF spam blocked by CleanTalk