In short, formatted strings are bugged. For example, if you have an array of formatted text like this:
globalvar String[] ObjectiveDesc = [
'',
$"Capture Point {point_name}", // The $ strings make the exception happen
$"Capture the Flag ({flagcapture_count}/∞)",
$"Kill {deathmatch20_kills_left} target"
];
You get an exception that shouldn't happen. This only happens if you have multiple scripts. I also made sure to import the scripts as well before I defined this array. You can fix this issue by making a rule that sets this array.
In short, formatted strings are bugged. For example, if you have an array of formatted text like this:
You get an exception that shouldn't happen. This only happens if you have multiple scripts. I also made sure to import the scripts as well before I defined this array. You can fix this issue by making a rule that sets this array.