The Dink Network

Reply to Re: Create sprite, wait(50);, remove sprite?

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 5th 2010, 01:18 AM
spike.gif
Well, if the parent sprite dies after calling this (or possibly does some other bizarre thing...) the externaled script will die with it. (the engine will "jump" back to the parent script when it encounters the wait() command. If you haven't read it, Someone explains the stuff pretty well in his FIFO variable thing =)

If possible (ie, there's no other stuff that will stop working), you could use spawn() instead of external(), or sp_kill(&red,50) instead of wait() and sp_active().