The Dink Network

Reply to Re: Some problem

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:
 
 
December 7th 2005, 01:40 PM
bonca.gif
Erwin
Peasant He/Him Netherlands
Friendship is magic 
I've finaly fixed it. I just did this:
void main (void)
{
if (&story < 5)
{
int &rock1 = create_sprite(416, 178, 0, 95, 10);
int &rock2 = create_sprite(414, 199, 0, 95, 8);
int &rock3 = create_sprite(477, 211, 0, 95, 3);
int &rock4 = create_sprite(473, 231, 0, 95, 6);
int &rock5 = create_sprite(459, 251, 0, 95, 2);
int &rock6 = create_sprite(435, 257, 0, 95, 9);
int &rock7 = create_sprite(432, 286, 0, 95, 4);
int &rock8 = create_sprite(418, 313, 0, 95, 1);
int &rock9 = create_sprite(518, 235, 0, 95, 5);
int &rock10 = create_sprite(557, 237, 0, 95, 7);
sp_hard(&rock1, 0);
draw_hard_map(&rock1);
sp_hard(&rock2, 0);
draw_hard_map(&rock2);
sp_hard(&rock3, 0);
draw_hard_map(&rock3);
sp_hard(&rock4, 0);
draw_hard_map(&rock4);
sp_hard(&rock5, 0);
draw_hard_map(&rock5);
sp_hard(&rock6, 0);
draw_hard_map(&rock6);
sp_hard(&rock7, 0);
draw_hard_map(&rock7);
sp_hard(&rock8, 0);
draw_hard_map(&rock8);
sp_hard(&rock9, 0);
draw_hard_map(&rock9);
sp_hard(&rock10, 0);
draw_hard_map(&rock10);
}
if (&story == 4)
{
freeze(1);
int &newsprite = create_sprite(300, 100, 0, 373, 1);
sp_seq(&newsprite, 373);
sp_speed(&newsprite, 2);
sp_timing(&newsprite, 0);
sp_base_walk(&newsprite, 390);
say_stop("`0OK the explosives are set.", &newsprite);
wait(200)
say_stop("`0Take cover!", &newsprite);
wait(200)
move_stop(&newsprite, 8, 50, 1);
wait(200)
move_stop(1, 8, 100, 1);
wait(200)
int &bomb = create_sprite(425, 175, 7,161,1);
sp_seq(&bomb, 161);
playsound(6, 22050, 0,0,0);
int &bomb = create_sprite(425, 250, 7,161,1);
sp_seq(&bomb, 161);
playsound(6, 22050, 0,0,0);
int &bomb = create_sprite(500, 200, 7,161,1);
sp_seq(&bomb, 161);
playsound(6, 22050, 0,0,0);
sp_hard(&rock1, 1);
draw_hard_map(&rock1);
int &hold = sp_editor_num(&rock1);
if (&hold != 0)
{
//this was placed by the editor, lets make the barrel stay flat
editor_type(&hold, 1);
}
sp_active(&rock1, 0);
sp_hard(&rock2, 1);
draw_hard_map(&rock2);
int &hold = sp_editor_num(&rock2);
if (&hold != 0)
{
//this was placed by the editor, lets make the barrel stay flat
editor_type(&hold, 1);
}
sp_active(&rock2, 0);
sp_hard(&rock3, 1);
draw_hard_map(&rock3);
int &hold = sp_editor_num(&rock3);
if (&hold != 0)
{
//this was placed by the editor, lets make the barrel stay flat
editor_type(&hold, 1);
}
sp_active(&rock3, 0);
sp_hard(&rock4, 1);
draw_hard_map(&rock4);
int &hold = sp_editor_num(&rock4);
if (&hold != 0)
{
//this was placed by the editor, lets make the barrel stay flat
editor_type(&hold, 1);
}
sp_active(&rock4, 0);
sp_hard(&rock5, 1);
draw_hard_map(&rock5);
int &hold = sp_editor_num(&rock5);
if (&hold != 0)
{
//this was placed by the editor, lets make the barrel stay flat
editor_type(&hold, 1);
}
sp_active(&rock5, 0);
sp_hard(&rock6, 1);
draw_hard_map(&rock6);
int &hold = sp_editor_num(&rock6);
if (&hold != 0)
{
//this was placed by the editor, lets make the barrel stay flat
editor_type(&hold, 1);
}
sp_active(&rock6, 0);
sp_hard(&rock7, 1);
draw_hard_map(&rock7);
int &hold = sp_editor_num(&rock7);
if (&hold != 0)
{
//this was placed by the editor, lets make the barrel stay flat
editor_type(&hold, 1);
}
sp_active(&rock7, 0);
sp_hard(&rock8, 1);
draw_hard_map(&rock8);
int &hold = sp_editor_num(&rock8);
if (&hold != 0)
{
//this was placed by the editor, lets make the barrel stay flat
editor_type(&hold, 1);
}
sp_active(&rock8, 0);
sp_hard(&rock9, 1);
draw_hard_map(&rock9);
int &hold = sp_editor_num(&rock9);
if (&hold != 0)
{
//this was placed by the editor, lets make the barrel stay flat
editor_type(&hold, 1);
}
sp_active(&rock9, 0);
sp_hard(&rock10, 1);
draw_hard_map(&rock10);
int &hold = sp_editor_num(&rock10);
if (&hold != 0)
{
//this was placed by the editor, lets make the barrel stay flat
editor_type(&hold, 1);
}
sp_active(&rock10, 0);

wait(500)
say_stop("`0You can go now if you want.", &newsprite);
wait(200)
say_stop("`0I'm going back home now.", &newsprite);
wait(200)
say_stop("`0By the way, you can keep the knife you need it more than I do.", &newsprite);
wait(300)
say_stop("`0Bye.", &newsprite);
wait(200)
say_stop("Bye.",1);
wait(200)
move_stop(&newsprite, 8, -50, 1);
wait(300)
&story = 5
unfreeze(1);
}

if (&story > 5)
{
}

}

so it's simple enough.