The Dink Network

Reply to Missiles an' stuff

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
December 22nd 2007, 08:48 PM
dinkdead.gif
Does "missile" refer to any kind of attack or is it only what I'd think of as a missile, ie. fireballs and arrows etc. (probably bombs as well)?

Also, regarding the required variables &enemy_sprite and &missle_source the DinkC Reference is a tad confusing:
&enemy_sprite - The last known active sprite to attack something. In the case of missiles, will store the player sprite (1).
&missle_source - The last known active sprite to attack something. In the case of missiles, will store the missile's sprite.


Looking at this it seems to mean that both do exactly the same thing in the case of a sprite directly attacking something (eg. punching it) but in the case of a missile then &enemy_sprite will store 1, even if the missile was fired by another sprite, and &missle_source will store the missile's number but not the sprite which fired it, so why is it called &missle_source??
If I am wrong, then what do they store?