The Dink Network

Erwin's Profile

bonca.gif
Erwin
Peasant He/Him Netherlands
Friendship is magic 
I'm Erwin Bosch I'm 27 and I love playing and making games.

E-Mail erwinb91@gmail.com
Private Message

2005-12-04 15:27:12
bonca.gif
Erwin
Peasant He/Him Netherlands
Friendship is magic 
I'm trying to blow up some rocks in this script but it doesn't work. Can someone tell me what I'm doing wrong.

void main (void)
if (&story == 4)
{
freeze(1);
int &rock1 = sp(1);
int &rock2 = sp(2);
int &rock3 = sp(3);
int &rock4 = sp(4);
int &rock5 = sp(5);
int &rock6 = sp(6);
int &rock7 = sp(7);
int &rock8 = sp(8);
int &rock9 = sp(9);
int &rock10 = sp(10);
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);

Erwin has released 7 files

TitleCategoryAvgUpdated
Enter the Dead Dragon CarcassD-Mod, RompFair 6.0April 13th, 2011
Day of the CarcassD-Mod, DemoGood 7.5December 30th, 2009
Day of the Carcass teaserMiscellaneousN/AJuly 12th, 2009
Magical MayhemD-Mod, RompFair 6.9October 19th, 2008
SurvivalD-Mod, DevelopmentExceptional 9.0May 13th, 2007
Dink Goes HuntingD-Mod, DemoGood 8.5February 18th, 2007
Treasure Battles (The)D-Mod, RompFair 6.2September 18th, 2005

Erwin has written 12 reviews

TitleFileTypeScoreDate
Three Amulets Three AmuletsFeaturedExceptional 9.2February 27th, 2010
Pure Amusement Quest for Not Quite as Lame (The)NormalExceptional 9.0October 23rd, 2009
This is One Crappy D-Mod Scary Beast (The)NormalHorrible 1.5December 30th, 2006
Wow Scourger (The)NormalExceptional 9.6September 20th, 2006
This Game is in One Word Amazing Cloud Castle 2: ScarabNormalExceptional 9.9July 19th, 2006
Wow Dressup DanNormalExceptional 9.9May 25th, 2006
Well ABCDEFGHIJKLMNOPQRSTUVWXYZNormalHorrible 0.1October 3rd, 2005
This Game is Great Lyna's StoryNormalExceptional 9.9September 24th, 2005
This is a Good D-Mod CursedNormalGood 8.0September 24th, 2005
Wow TwinsNormalExceptional 9.9September 24th, 2005
I Would Recommend This D-Mod if You Like Fighting Treasure Battles (The)NormalGood 7.5September 23rd, 2005
This is Quite a Good D-Mod Helpin' the Ol' Duck FarmerNormalGood 7.5September 21st, 2005

Erwin has taken 7 screenshots

ScreenshotFileDate
Preview SurvivalMay 13th, 2007
Preview Dink Goes HuntingFebruary 18th, 2007
Preview Dink Goes HuntingFebruary 18th, 2007
Preview Dink Goes HuntingFebruary 18th, 2007
Preview Dink Goes HuntingFebruary 18th, 2007
Preview Dink Goes HuntingFebruary 18th, 2007
Preview Dink Goes HuntingFebruary 18th, 2007