The Dink Network

Reply to Re: variables (reserved names?) and a question

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 4th 2018, 11:33 AM
wizardg.gif
LeprochaUn
Peasant He/Him Japan bloop
Responsible for making things not look like ass 
attach_script(1000) will last indefinitely. I think it only closes once you exit/reload the game(could be wrong).
Regardless, it's a good practice to always have a kill_this_task() at the end of a script that uses attach_script(1000);

Hmm, I don't know if you could use it to store variables efficiently. I suppose you could have a control sprite on each screen and use the persistent script to carry the values over from one screen to another. This way the persistent script would always be able to find and assign values to a consistent object. It seems like that would work.