The Dink Network

Reply to Re: void hit( void )

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:
 
 
January 1st 2005, 10:08 PM
burntree.gif
Striker
Noble She/Her United States
Daniel, there are clowns. 
Well, to keep the monsters from actively attacking each other, I would always make sure they would go after Dink if they were ever hit, like this:

void hit()
{
if (&enemy_sprite == 1)
sp_target(&current_sprite, 1);
}

But that's probably not what you want. You could try experiementing with them targeting themselves or maybe 0.