The Dink Network

Reply to Re: WDE 2 crash

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
July 19th, 03:49 PM
duck.gif
toof
Peasant He/Him
I disagree. 
Someone should rename this thread to toof relearns DinkC. Alright another Q. I wish to put screen transition into a separate function like:

void transition(int &pmap)
{
    fade_down();
    &player_map = &pmap;
    script_attach(1000);
    load_screen();
    draw_screen();
    dink_can_walk_off_screen(1);
    freeze(1);
    fade_up();
}


This works when it's "sequentially" put in the script. But when I invoke it as a function, it doesn't wait for previous
say_stop()
function to finish. I assume it executes this in parallel. Any hint on how to do this?