attach_script(1000); means ?
i see ..
attach_script(1000);
all over ... now i thought at first that .... it was just a certain script ...
however, it seemed to be used on all kinds of scripts, that are not related.
what is attach_script(1000); doing ?
attach_script(0); i assume means unload ?
attach_script(1000);
all over ... now i thought at first that .... it was just a certain script ...
however, it seemed to be used on all kinds of scripts, that are not related.
what is attach_script(1000); doing ?
attach_script(0); i assume means unload ?
script_attach(1000); is used generally for warps and cutscenes where the script should continue running after a screen change. It should be terminated with kill_this_task(); after it has finished though. Also for reference, Dink is sprite one.
I have a feeling script_attach(0); would crash the engine
I have a feeling script_attach(0); would crash the engine
IIRC, script_attach(0) attaches the script to the current screen, where it will be unloaded when the screen is changed.
Check the DinkC Reference, it's a help file inside your Dink folder (in /develop)
Perfect for looking up individual commands like this
Perfect for looking up individual commands like this