The Dink Network

Reply to Re: Damage Spell

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:
 
 
April 1st 2003, 08:01 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
Hrm, odd.

You're better off doing something like this:

Give it a brain of 9 (which you know will work with sp_strength), freeze it, figure out the exact time it will take for the animation to play (frame delay * number of frames), and then kill it. So like:

void main(void )
{
int &str = 5;
&str * &spell_level-earth;

freeze(&current_sprite);
sp_brain(&current_sprite, 9);
sp_seq(&current_sprite, 37);
sp_range(&current_sprite, 30);
sp_strength(&current_sprite, &str);

playsound(6, 22050, 0,0,0);

wait(1500); //or whatever
sp_kill(&current_sprite,1);
kill_this_task();
}

Sorry for re-organizing the script... bad habit