The Dink Network

Reply to Re: Immunity to Certain Weapons?

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:
 
 
February 6th 2009, 06:14 PM
fairy.gif
Someone
Peasant He/Him Australia
 
Put this at the top of the hit procedure:

int &t;
&t = sp_pseq(1,-1);
&t / 10;
if (&t = <first 2 digits of fist hit sequences
{
sp_nohit(&current_sprite,1);
wait(1);
sp_nohit(&current_sprite,0);
}

I haven't tested it myself but it should work. This should cause Dink to swipe and miss the enemy. If you want him to hit and do no damage, you can try sp_brain(&current_sprite,0) and back to 9/10 instead of sp_nohit. Or just use nohit and playsound the hit sound yourself.

I described why this works in my advanced dinkc tutorial.