The Dink Network

Reply to Re: WinDinkEdit Plus: How to make a thing die? With a conditon.

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 19th 2007, 02:16 PM
slayer.gif
...then again, let's do this the 2006 way.

void hit(void)

{
if (&story == 0);
{
freeze(1);
say_stop("`8H", &current_sprite);
unfreeze(1);
}
}

{
if (&story == 1);
{
freeze(1);
say_stop("`8H", &current_sprite);
sp_kill(&current_sprite);
wait(200);
say_stop("H", 1);
&story = 2;
unfreeze(1);
}
}

The pig now runs both scripts - it seems to ignore the &story command.

Also, it won't die.