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.
...then again, let's do this the 2006 way.
void hit(void)
{
if (&story == 0);
{
freeze(1);
say_stop("`8H", ¤t_sprite);
unfreeze(1);
}
}
{
if (&story == 1);
{
freeze(1);
say_stop("`8H", ¤t_sprite);
sp_kill(¤t_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.
void hit(void)
{
if (&story == 0);
{
freeze(1);
say_stop("`8H", ¤t_sprite);
unfreeze(1);
}
}
{
if (&story == 1);
{
freeze(1);
say_stop("`8H", ¤t_sprite);
sp_kill(¤t_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.








