The Dink Network

Reply to Re: Bookshelf

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:
 
 
October 30th 2012, 04:34 AM
anon.gif
shevek
Ghost They/Them
 
it's a good idea to add an extra check to make sure it's Dink doing the hitting

Actually, you want more checks:

Is dink doing the hitting? -> &enemy_sprite == 1 (I think).
Is dink hitting with a weapon (as opposed to magic)? -> &missle_source == eh, 0? You should check this.
And in your case, is &story the right value?

if (&missle_source = 1)

The misspelling of missle_source is correct. The single = sign is not.
And it doesn't check what you want to know, I think (but didn't check either). This checks if dink himself was fired at the object. It should be possible to do this, but I don't think it's ever useful... Maybe for a very special "transform into a fireball"-type of attack.