The Dink Network

Reply to Re: projectile script

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:
 
 
November 17th 2005, 06:30 PM
burntree.gif
Striker
Noble She/Her United States
Daniel, there are clowns. 
I believe I can fix this problem. The projectile isn't doing any damage because the wrong command is being used.

sp_hurt(&temp, &strength) won't work because you're telling the game to injure the returned brain parameter. Notice

int &temp = sp_brain_parm(&missl,-1);

Oops.

But even with that mistake, sp_hurt() will not work. What you want is much, much simpler...

Just under
sp_timing(&missl, 0);
sp_speed(&missl, 6);

merely add
sp_strength(&missl, &strength);
Because the ninja star has a missle brain, anything it touches will be dealt that damage once it hits when you use that command.