Reply to Re: Bookshelf
If you don't have an account, just leave the password field blank.
October 30th 2012, 08:28 AM
shevek
Found it.
Hmm, that makes sense, I suppose. However, I'm doubting Someone's comment in there about turning missle_source into enemy_sprite. Doesn't missle_source contain the value of the sprite which fired the missile? If so, how does it know? Perhaps something related to sp_brain_parm?
Summary:
For weapon-based attacks, no matter who does them, missle_source and enemy_sprite are equal to the attacking sprite (and thus equal to each other).
For missile-based attacks, missle_source is equal to the missile sprite, while enemy_sprite is equal to whoever fired the missile. How the engine knows is unclear. It might even use current_sprite during missile creation, or something...
Hmm, that makes sense, I suppose. However, I'm doubting Someone's comment in there about turning missle_source into enemy_sprite. Doesn't missle_source contain the value of the sprite which fired the missile? If so, how does it know? Perhaps something related to sp_brain_parm?
Summary:
For weapon-based attacks, no matter who does them, missle_source and enemy_sprite are equal to the attacking sprite (and thus equal to each other).
For missile-based attacks, missle_source is equal to the missile sprite, while enemy_sprite is equal to whoever fired the missile. How the engine knows is unclear. It might even use current_sprite during missile creation, or something...