Reply to Re: Missiles an' stuff
If you don't have an account, just leave the password field blank.
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);
}
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);
}