Reply to Re: Bookshelf
If you don't have an account, just leave the password field blank.
This needs testing to be certain, but according to the reference it seems in the case of a missile enemy_sprite actually equals 1 whoever fired it.
That's correct. Luckily, there is a simple way to get the correct sprite by checking sp_brain_parm, since every missile in Original Dink stores the sprite who launches the missile with it. (Problems will only arise if the dmod author changes this convention)
e.g.
That's correct. Luckily, there is a simple way to get the correct sprite by checking sp_brain_parm, since every missile in Original Dink stores the sprite who launches the missile with it. (Problems will only arise if the dmod author changes this convention)
e.g.
int &culprit = sp_brain_parm(&missle_source,-1) sp_target(¤t_sprite,&culprit)