The Dink Network

Reply to Re: finally a solution

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 11th 2006, 06:31 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
Piece from damage script of orb(for example purposes...):

//see if target is going to die
int &hpsu = sp_hitpoints(&missile_target, -1);
if (&damage >= &hpsu)
{
//change targets death sequence to the ice shatter one
sp_base_death(&missile_target,860);
sp_dir(&missile_target, 1);

//our sequence is 861 hence base_death 860 and sp_dir 1
//play shatter sound
Playsound(50,22050,0,0,0);
}