The Dink Network

Reply to script organisation level over 9000

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:
 
 
March 27th 2021, 06:53 PM
custom_robj.png
Robj
Jester He/Him Australia
You feed the madness, and it feeds on you. 
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");