Undoubtedly, I will! (And report back.)
I'm actually quite excited about this now!
Thanks!
Edit (since I can't "double post")
Ok, didn't exactly work. In my config I was trying to set it up as an init eventhandler. I tried several variations, and this is the only one that didn't throw an error, although it also didn't work.
class Eventhandlers
{
init = "unit setVariable [""JTD_twLength"", 6, true]; _this execVM ""\@JTD\addons\testing\JTD_Claymore_init.sqf""";
};
I tried _this setvariable, since _this execVM properly passes the identity of the object, but that gave me some sort of error, and the biki used "unit" as the variable that passes through.
I did, however have figure out a workaround thanks to your tip!
I noticed that, as is, the JTD_twLength was null. So, in the init, I getVariable that, and if it is null, I then set it to what I want. This does also allow, though, for the user, in the init of the object to use this setVariable ["JTD_twLength", 4] to set it to 4 (or any other number).
So, in that sense, THANKS!
Now, though, I'd really love to also know how to set a variable as a default in the config, too.