Problem with threads

Started by lucasa, Wed 20/02/2008 11:54:07

Previous topic - Next topic

lucasa

Hello, i dont undertand how threads works (i've read help yet)

I want to run something like this script:

{
conversation.start();
player.changeroom(a,b,c);
}

But player changes room BEFORE starting conversation. ¿how can i do to get the thread control?


Thanks and Sorry for my english.

Radiant

Use the run_script option in the dialog script to ensure the room change happens at the end of the dialog.

Matti

You could use the run-script x command at the end of the dialog and put the character.changeroom function in the dialog_request section in the main script.

edit: Oh, I was too late..

lucasa


SMF spam blocked by CleanTalk