The Dink Network

Reply to Re: External

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:
 
 
June 28th 2005, 01:50 AM
wizardg.gif
Paul
Peasant He/Him United States
 
Ah, that would make sense, because when you call a script with external, it's sort of treated as part of the script that called it. Since the script that called it is attached to a dying creature, it's not too surprising that the whole thing collapses when it the sprite is killed (ie. when it comes to a wait).

You can get around this by either using script_attached(1000) or using spawn isntead of external. In either case, make sure put kill_this_task at the end.