The Dink Network

Reply to No int??

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 12th 2004, 06:52 AM
pig.gif
sjoerdje
Peasant He/Him 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..