The Dink Network

Reply to Re: A bit of scripting help needed!

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:
 
 
April 16th 2007, 09:17 AM
bonca.gif
MichaelV
Peasant He/Him Australia
It's all in the mind, you know 
Could it be something to do with the &ehp variable? Does the script regularly 'update' the &ehp variable, so that when the enemy is dead the &ehp variable is actually 0?
I think if you put the &ehp = <no. of hitpoints> just before the if(&ehp == 0) line, then the &ehp variable should be 0 if the monster is dead.

Unless... If a monster is dead, does it actually have 0 hp or is it non-existent?