Reply to Re: Strange Issue: Sprite Commingling?!?
If you don't have an account, just leave the password field blank.
&temphold is a very good thought, but the sprites are saying things directly, using ¤t_sprite.
Some additional investigation identified that the issue actually isn't when hitting the crate, but, rather the sack of pig feed sitting there. Which doesn't have a script attached at this time (it does earlier, but it is killed using kill_this_task).
That leads me to believe that the script of the pig feed isn't actually 'killed', but is somehow pointing to the script of the hidden mushroom.
Wild stuff.
That means I think I can fix it...
Edit: Yep, fixed. Yay!
Edit: Or not. Grr.
Edit: Fixed again. I had some sprites that were nohit/nodraw that I was kill_this_task their scripts on, which it didn't take too kindly to. Changed it to just kill those sprites out-right (sp_active(¤t_sprite, 0)), and that seems to have fixed it.
Some additional investigation identified that the issue actually isn't when hitting the crate, but, rather the sack of pig feed sitting there. Which doesn't have a script attached at this time (it does earlier, but it is killed using kill_this_task).
That leads me to believe that the script of the pig feed isn't actually 'killed', but is somehow pointing to the script of the hidden mushroom.
Wild stuff.
That means I think I can fix it...
Edit: Yep, fixed. Yay!
Edit: Or not. Grr.
Edit: Fixed again. I had some sprites that were nohit/nodraw that I was kill_this_task their scripts on, which it didn't take too kindly to. Changed it to just kill those sprites out-right (sp_active(¤t_sprite, 0)), and that seems to have fixed it.