virgo47 Posted April 15, 2024 Posted April 15, 2024 (edited) It would be cool to be able to "comment out" individual Actions, Conditions and perhaps the whole Triggers with some "Disabled" checkbox. I think "disabled" says it all, of course, the action/condition/trigger would be somehow indicated (a bit harder for triggers that can be coloured by us, but I'm sure there is a way, e.g. different background). This can make various prototyping much faster and also works around the inherent problem that we can't copy the stuff away somewhere else like we can with real code. Edited April 15, 2024 by virgo47 4 L-39, F-4E, F-5E, F-14, F/A-18C, MiG-15, F-86F, AJS-37, C-101, FC2024 Yak-52, P-47, Spitfire, CE2 UH-1H, Mi-8, Ka-50 III, SA342 NTTR, PG, SY, Chnl, Norm2, Kola, DE Supercarrier, NS430, WWII, CA VKB STECS+Gladiator/Kosmosima+TPR DCS Unscripted YouTube "Favourite" bugs: 1) gates not growing regress (FIXED 2025-03 ), 2) L-39 target size cockpit animation regress (FIXED 2025-02), 3) Yak-52 toggles not toggling, 4) all Caucasus ATC bugs
TEMPEST.114 Posted April 15, 2024 Posted April 15, 2024 2 hours ago, virgo47 said: It would be cool to be able to "comment out" individual Actions, Conditions and perhaps the whole Triggers with some "Disabled" checkbox. I think "disabled" says it all, of course, the action/condition/trigger would be somehow indicated (a bit harder for triggers that can be coloured by us, but I'm sure there is a way, e.g. different background). This can make various prototyping much faster and also works around the inherent problem that we can't copy the stuff away somewhere else like we can with real code. As an idea, in the mean time, could you add a non-existent flag to the thing you want to disable in it's condition - therefore it will never be true? But great suggestion. 1
Exorcet Posted April 15, 2024 Posted April 15, 2024 38 minutes ago, Elphaba said: As an idea, in the mean time, could you add a non-existent flag to the thing you want to disable in it's condition - therefore it will never be true? Depending on how many things need to be turned off it might be best to setup a "debug mode" with multiple flags. The idea is that one master flag at the top of the trigger list turns debug mode on or off so that you don't have to keep track of flag calls you've added elsewhere in the trigger list. 1 Awaiting: DCS F-15C Win 10 i5-9600KF 4.6 GHz 64 GB RAM RTX2080Ti 11GB -- Win 7 64 i5-6600K 3.6 GHz 32 GB RAM GTX970 4GB -- A-10C, F-5E, Su-27, F-15C, F-14B, F-16C missions in User Files
virgo47 Posted April 16, 2024 Author Posted April 16, 2024 8 hours ago, Elphaba said: As an idea, in the mean time, could you add a non-existent flag to the thing you want to disable in it's condition - therefore it will never be true? Thanks for the tip, this at least allows me to disable the whole trigger. My initial idea however came from the Actions list. It's not supercomplicated to create an action, but oftentimes it's annoying, especially if it's a message, sound, script, clickable action or anything that requires more clicking and parameters. To disable such a thing now is to delete and recreate it again. I just expanded the idea to conditions and triggers for consistency, but it is most missing on Actions level, at least as I see it. L-39, F-4E, F-5E, F-14, F/A-18C, MiG-15, F-86F, AJS-37, C-101, FC2024 Yak-52, P-47, Spitfire, CE2 UH-1H, Mi-8, Ka-50 III, SA342 NTTR, PG, SY, Chnl, Norm2, Kola, DE Supercarrier, NS430, WWII, CA VKB STECS+Gladiator/Kosmosima+TPR DCS Unscripted YouTube "Favourite" bugs: 1) gates not growing regress (FIXED 2025-03 ), 2) L-39 target size cockpit animation regress (FIXED 2025-02), 3) Yak-52 toggles not toggling, 4) all Caucasus ATC bugs
Tippis Posted April 16, 2024 Posted April 16, 2024 Seems eminently sensible Commenting out code is made trivial in any kind of scripting and programming for a reason, and the same logic applies to trying to pick apart and test complex triggers. Since all the triggers are just UI for underlying scripts anyway, it might not even be difficult to do in the mission file code. ❧ ❧ Inside you are two wolves. One cannot land; the other shoots friendlies. You are a Goon. ❧ ❧
MAXsenna Posted April 18, 2024 Posted April 18, 2024 It would be cool to be able to "comment out" individual Actions, Conditions and perhaps the whole Triggers with some "Disabled" checkbox. I think "disabled" says it all, of course, the action/condition/trigger would be somehow indicated (a bit harder for triggers that can be coloured by us, but I'm sure there is a way, e.g. different background). This can make various prototyping much faster and also works around the inherent problem that we can't copy the stuff away somewhere else like we can with real code.Might not be what you're after. But I believe @cfrag made some realtime debugging tool. Sent from my SM-A536B using Tapatalk
Recommended Posts