The Dink Network

sjoerdje's Profile

pig.gif
sjoerdje
Peasant Male Netherlands
Lava pig to the rescue! 
2004-09-12 06:52:22
pig.gif
sjoerdje
Peasant Male Netherlands
Lava pig to the rescue! 
Hey,
I made a script and it worked alright but all of a sudden it's not working alright anymore. First of all, I int a slayer but it seems to be invicible. When I let him walk he suddenly pops up. Then, I have to int a knight, but the knight doesn't even show up! So the script won't continue! I checked for mistakes with easydinkc but none were found... Here is the script:

void main(void)
{
if (&fake == 0)
{
int &beest = create_sprite(280, 180, 16, 641, 1);
sp_base_walk(&beest, 640);
sp_speed(&beest, 2);
freeze(&beest);

freeze(1);
playmidi("Attack.mid");

say_stop("dang...a Slayer...", 1);
say_stop("it seems he doesn't know I'm here", 1);

choice_start();

set_y 240
set_title_color 15

title_start()
A slayer in front of me! What should I do?
title_end()

(&fake == 0) "Attack Slayer!"
(&fake == 0) "Leave and come back later."
choice_end();
}

if (&result == 1)
{
if (&fake == 0)
{

move_stop(1, 8, 189, 1);
move_stop(1, 2, 189, 1);
move_stop(1, 4, 327, 1);

&basehit = sp_dir(1, -1);
&basehit += 100; //100 is the 'base' for the hit animations, we just add
//the direction
sp_seq(1, 104);
sp_frame(1, 1); //reset seq to 1st frame
sp_kill_wait(1); //make sure dink will punch right away
sp_nocontrol(1, 1); //dink can't move until anim is done!
wait(1);
playsound(8, 8000,0,0,0);
wait(100);
playsound(27, 22050,0,0, 0);

say_stop("Ohoh... I think he's angry now!", 1);

move(1, 6, 560, 1);
say("He's after me!", 1);
move_stop(&beest, 6, 560, 1);
move(1, 8, 120, 1);
say("This is not good!", 1);
move_stop(&beest, 8, 120, 1);
move(1, 4, 230, 1);
say("Aaaaaaaaa", 1);
move_stop(&beest, 4, 230, 1);
move(1, 2, 320, 1);
say("GET...A...WAY!!", 1);
move_stop(&beest, 2, 320, 1);
move(1, 4, 110, 1);
move_stop(&beest, 4, 190, 1);
say_stop("dang, I'm trapped!", 1);

sp_dir(1, 6);
int &lul = create_sprite(650, 315, 16, 291, 1);
sp_base_walk(&lul, 290);
sp_speed(&lul, 1);
freeze(&lul);

say_stop("I'm a goner!!", 1);

wait(1000);

say_stop("`0I will gaurd you with my life", &lul);
say_stop("`0When you're in danger, I'll save you..", &lul);

I really don't know. The script is much longer but I can't see I will gaurd... there is no soldier, i don't see the slayer etc..

sjoerdje has released 1 file

TitleCategoryAvgUpdated
Sjoerd's QuestD-Mod, RompFair 6.6June 26th, 2004

sjoerdje has written 5 reviews

TitleFileTypeScoreDate
Ahh Yes Cloud Castle 2: ScarabFeaturedExceptional 9.1October 2nd, 2004
Really a Great Dmod I Must Say World of DinkCNormalExceptional 9.2August 30th, 2004
Graphics: Hmm Elves of RathorNormalFair 5.5August 24th, 2004
Just Finished the Game Stone of BalanceFeaturedExceptional 9.7April 22nd, 2004
Let's Get Straight To the Point: Knight's Tale (A)NormalGood 7.5April 12th, 2004