MD scripts are now limited to predefined locations. Editors will have to edit their scripts and add the following line to them to indicate where the script can be executed from:
@allowed_locations= 'coord....';
Example: @allowed_locations= '4_1x2_3,1_0x0_1'; (allows two locations to access same script)
You can set a total of 12 locations. While a larger number might be possible, try to design your scripts to fit into that and don't simply link a script to multiple clickables unless its functionality gets changed somehow, or there is a good reason to have it linked on more than one clickable. Spamming the clickables with same script just to make it more accessible is definitely not something you should do. Try do design your scripts FOR the items they are placed on, thats the whole point of md script. Please note that a normal scripted item would require only one location in the allowed list, namely the coordinate of the scene where the item is in.
IMPORTANT: untill updated with the location var, no md script will run.
@allowed_locations= 'coord....';
Example: @allowed_locations= '4_1x2_3,1_0x0_1'; (allows two locations to access same script)
You can set a total of 12 locations. While a larger number might be possible, try to design your scripts to fit into that and don't simply link a script to multiple clickables unless its functionality gets changed somehow, or there is a good reason to have it linked on more than one clickable. Spamming the clickables with same script just to make it more accessible is definitely not something you should do. Try do design your scripts FOR the items they are placed on, thats the whole point of md script. Please note that a normal scripted item would require only one location in the allowed list, namely the coordinate of the scene where the item is in.
IMPORTANT: untill updated with the location var, no md script will run.