The Dink Network

Reply to Re: Missiles an' stuff

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:
 
 
December 24th 2007, 06:58 AM
dinkdead.gif
Ok, thanks Someone. So DinkC ref. says what it means, and it seems I was (more or less) right in the first place.

Blackguard: How? Using wait_for_button() would be a bit tricky I think.
I did this, which is what I wanted to do before getting caught up in semantics:
void hit (void)
{
if (&missle_source == 1)
{
//hit directly by Dink
say("Ouch, now I have splinters.", 1);
return;
}

if (&enemy_sprite != 1)
{
//hit by monster
say("`2Ow!", &enemy_sprite);
return;
}

//hit by missile
//further checks needed to see if hit with fball, arrow, acid rain etc.
say("Burn, signpost!", 1);
}