The Dink Network

Reply to Re: New File: Summon 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:
 
 
March 24th 2006, 10:55 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
I scream vile cursewords at Dink today. As usual, something is screwed up prohibiting me from completing my summon spell fix. It also seems that the summoned beast keeps the sprite number as it's target even when the target is dead. I have the lines I need to do the targeting part, but I can't make the circumstances work!?

//excerpt from "summon.c" inside the loop:

//&targ is innited earlier in the script
&targ = sp_target(&summon, -1);
//testing to see what sprite our summon has targeted
say("`7 &targ", 1);

//in case our summon's target was killed by someone else
//this doesn't seem to work, I need another way
if (sp_hitpoints(&targ, -1) < 1)
{
say("hey", &summon);
run_script_by_number(&summon, "main");
}