The Dink Network

Reply to murderous pigs planning a piggy reveloutoin.

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:
 
 
September 10th 2004, 01:53 PM
pig.gif
i have a subquest in my dmod about killer pigs ect, (you know, the usual) and in one of the cutscenes 2 of the pigs dont freeze when i want them to. here are all scripts involved.

//cutscene script

void main(void)
{
freeze(1);
freeze(¤t_sprite);
freeze(&deathpig1);
freeze(&deathpig2);
freeze(&deathpig3);
freeze(&deathpig4);
say_stop("`5enough nonesense, eat the girl before she blabs about le resitanse de piggy to the king!", &deathpig1);
say_stop("`2uhh chief,", &deathpig1);
say_stop("`5what now cletus?", &deathpig1);
say_stop("`2there be an intruder!", &deathpig3);
sp_dir(1,4);
say("dum de doo...", 1);
wait(1200);
say_stop("`5GET THAT ASSMOLE BEFORE HE TALKS", &deathpig1);
say("well, i'll be going...", 1);
say_stop("`5not so fast pig ass", &deathpig1);
say_stop("did you call me a pig ass", 1);
say_stop("then it's time to die!", 1);
playmidi("106.mid");
unfreeze(1);
unfreeze(&deathpig1);
unfreeze(&deathpig2);
unfreeze(&deathpig3);
unfreeze(&deathpig4);
sp_target(&deathpig1, 1);
sp_target(&deathpig2, 1);
sp_target(&deathpig3, 1);
sp_target(&deathpig4, 1);
}

//first pig that doesent freeze

void main(void)
{
&deathpig3 = (¤t_sprite);
}

//second pig that doesent freeze

void main(void)
{
&deathpig4 = (¤t_sprite);
}

//extract from main.c

make_global_int("&deathpig3", 0);
make_global_int("&deathpig4", 0);

ive been trying to fix this for 2 days now, but i just cant see the problem. thanks.