Reply to script organisation level over 9000
If you don't have an account, just leave the password field blank.
Why am I just discovering this now?
And also, did this just not get used, or did no one know about it, because I haven't seen it used in a dmod.
I'm talking about this:
I didn't know you could organise your scripts into subdirectories and just include it in the script name and it works.. lolz.
makes for more organised story folder I guess.
You could actually have scripts of the same names in different subdirectories for each area instead of like "s1-blah".
Folders named: s1, s2 and both have "blah"
it works in all scripting commands and also attaching in the editor just instead of "blah" in the script box put like "s1/blah"
and these work too (direcotry names are examples, obviously):
sp_script(&sprite, "s1/blah");
spawn("common/blah");
external("common/blah", "blah");
And also, did this just not get used, or did no one know about it, because I haven't seen it used in a dmod.
I'm talking about this:
I didn't know you could organise your scripts into subdirectories and just include it in the script name and it works.. lolz.
makes for more organised story folder I guess.
You could actually have scripts of the same names in different subdirectories for each area instead of like "s1-blah".
Folders named: s1, s2 and both have "blah"
it works in all scripting commands and also attaching in the editor just instead of "blah" in the script box put like "s1/blah"
and these work too (direcotry names are examples, obviously):
sp_script(&sprite, "s1/blah");
spawn("common/blah");
external("common/blah", "blah");