Reply to Re: New File: Summon Spell
If you don't have an account, just leave the password field blank.
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");
}
//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");
}