The Dink Network

Reply to Re: Monster spawning

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:
 
 
July 10th 2009, 06:55 AM
pq_water.gif
flood
Peasant He/Him New Zealand
 
I'd use a global variable
for example &dead and have the default as 0

and have it in the spawning script like:

if(&dead == 0)
{
create_sprite( <blah blah blah> )
}

then in the monsters script under the die procedure just set &dead to 1

Voila! no more respawning