CaptScotty Posted January 27, 2023 Posted January 27, 2023 I'm new to triggers but have had a great success with them. The only thing I would like added is a delay function. For example is use a lot "when something has happened" do "Effect Smoke"; Do "Explode Unit." What I would like is a delay between the two. For Example, I would lay "Delay" then pick how many seconds to delay. If it is there, I may be miss reading it as I didn't find it. Thanks CaptScotty
Rudel_chw Posted January 27, 2023 Posted January 27, 2023 1 hour ago, CaptScotty said: If it is there, I may be miss reading it as I didn't find it. I use TIME SINCE FLAG when I need a delay. On your example, I would use: Flag "1" to ON "when something has happened", TIME SINCE FLAG "1", 5 seconds, DO "Effect Smoke" TIME SINCE FLAG "1", 15 seconds, DO "Explode Unit." 1 For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar Mobile: iPad Pro 12.9" of 256 GB
CaptScotty Posted February 4, 2023 Author Posted February 4, 2023 Thanks, that was just what I was looking for. - Scott 1
Exorcet Posted February 4, 2023 Posted February 4, 2023 On 1/27/2023 at 10:42 AM, Rudel_chw said: I use TIME SINCE FLAG when I need a delay. On your example, I would use: While this does exist for this purpose, it's much easier to have the delay built into the trigger. This is the case with message/sound to coalition/group/whatever. In a complex mission with tons of triggers an integrated delay saves so much time and potentially makes bug checking a thousand times easier. I think it would easily be worth the effort to add delays into triggers even if a method for doing this already exists. 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
Rudel_chw Posted February 4, 2023 Posted February 4, 2023 1 hour ago, Exorcet said: While this does exist for this purpose, it's much easier to have the delay built into the trigger. Yes, it would be easier ... but on the other hand you are adding complexity to the trigger "language", just to cater for a particular use case. I guess the ED development team will have to ponder these factors and decide on it. For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar Mobile: iPad Pro 12.9" of 256 GB
Recommended Posts