No601_Swallow
Mar-29-2014, 03:33
I'm curious about people's experience of submission scripts.
Since I can't write code, I'm finding I'm putting more and more mission elements into their own submissions. Until recentlly, I've been giving each submission its own script (often just the ontrigger bit, etc). Well, I'm superstitious: if it works, keep doing it.
Anyway, I've been told that the game can only run one script per at a time, so all script elements should be in the "master" script, so to speak.
But: elements in my sub-scripts seem to "show through" in the main mission. The gpHUD... messages, and - when I'm testing the (DF) mission on my own - using onTrigger to start another submission. (This starting of another submission, though, doesn't seem to work when testing online with others.) And this is usually without the onBattledStarted listener thingy.
I suppose I'm a bit confused. If a submission .cs file doesn't work, it shouldn't work. Full stop. Period. And yet certainly the HUD messages, and sometimes other bits, do. So, am I going mad, or is there a rational explanation. Or is it just CloD being CloD?
Since I can't write code, I'm finding I'm putting more and more mission elements into their own submissions. Until recentlly, I've been giving each submission its own script (often just the ontrigger bit, etc). Well, I'm superstitious: if it works, keep doing it.
Anyway, I've been told that the game can only run one script per at a time, so all script elements should be in the "master" script, so to speak.
But: elements in my sub-scripts seem to "show through" in the main mission. The gpHUD... messages, and - when I'm testing the (DF) mission on my own - using onTrigger to start another submission. (This starting of another submission, though, doesn't seem to work when testing online with others.) And this is usually without the onBattledStarted listener thingy.
I suppose I'm a bit confused. If a submission .cs file doesn't work, it shouldn't work. Full stop. Period. And yet certainly the HUD messages, and sometimes other bits, do. So, am I going mad, or is there a rational explanation. Or is it just CloD being CloD?