The Dink Network

Sp_target

January 9th 2006, 09:50 AM
bonca.gif
Christiaan
Bard They/Them Netherlands
Lazy bum 
Is it possible, when a foe has sp_target(&current_sprite, 1); to kill the sp_target?

Like, a slayer is attacking Dink, and I want him to wander off not minding Dink anymore. How can I do such a thing?
January 9th 2006, 10:45 AM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
since the second thing is the sprite number, maybe you could set it to 0? wouldn't that mean that it isn't targeting anything since there is no sprite 0? no clue if it'll work, but it's worth a try...

sp_target(&current_sprite, 0);
January 9th 2006, 12:38 PM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
Yep, I believe that will work. I believe that's the way it's done in PQ.