The Dink Network

Reply to Re: exploding barrel trouble

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:
 
 
October 29th 2006, 05:08 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
One more problem. I want it to be set off when it is attacked by a fireball or hellfire, so I tried this, but it doesn't work. I tested the numbers of Dink's punch and that worked, but the fireballs do not for some odd reason...
Note: Fireball sequences are 502, 504, 506, 504; Hellfire sequences are 512, 514, 516, 518. Btw &crap is defined in the main procedure correctly.

void hit( void )
{
&crap = sp_seq(&missle_source, -1);
if (&crap > 500)
{
if (&crap < 520)
goto blowup;
}

}

Update: It works when you're right against it. Other than that, it doesn't work.