The Dink Network

Reply to Re: sprites-editor\sprites-script

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:
 
 
November 22nd 2005, 06:33 AM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
1) No.
2) There is no garbage collection. Local variables are only freed when a script dies, and a script dies when a) the sprite that it is attached to dies, b) the player moves to a different screen, or c) the author issues the kill_this_task() command.

In some cases, a script can be set to survive across screens (when it is attached to sprite 1000). If kill_this_task() is not used to end it, it will only free its variables on saving/loading the game (hopefully).