BiBa Posted January 24, 2019 Posted January 24, 2019 I want to set a Trigger with four possibilities from where only one enemy convoy can be activated at mission start. The 50% random option could start sometimes more than one, so my quest is, what type of command chain like (4.MISSION START) in the Trigger List / Condition / Action else than random can I use to guarantee that only ONE Group out of several will be activated at mission start? Many thanks in advance BiBa...............BigBang WIN 10-64 Pro. MoBo: ASUS ROG STRIX Z390-F GAMING. 1TB Samsung SSD 960 PRO M.2 + 4TB SSD LEXAR 790. CPU: Intel Core i9-9900K. GPU: MANLI RTX 2080 Ti. RAM: HyperX 3200 MHz 64 GB. Monitor: ASUS 4K 28"/VR: Pimax 4K/TrackIR-5/SAITEK X55 Rhino HOTAS-Yoke-Rudder-Trim Wheel-THRUSTMASTER TCA Quadrant.
Rudel_chw Posted January 24, 2019 Posted January 24, 2019 You can set a Flag, for example Flag 10, on Mision start with a random value between 1 and 4, like this: ON MISION Start, No condition (so, always runs), FLAG SET RANDOM Value(10,1,4) Then, you can test against Flag 10 to activate the proper Convoy .. only one of the next 4 triggers will run: ONCE, FLAG 10 EQUALS 1, GROUP ACTIVATE Convoy 1 ONCE, FLAG 10 EQUALS 2, GROUP ACTIVATE Convoy 2 ONCE, FLAG 10 EQUALS 3, GROUP ACTIVATE Convoy 3 ONCE, FLAG 10 EQUALS 4, GROUP ACTIVATE Convoy 4 :) 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
BiBa Posted January 27, 2019 Author Posted January 27, 2019 You can set a Flag, for example Flag 10, on Mision start with a random value between 1 and 4, like this:...Many thanks. Here what came out with this algorithm: https://www.digitalcombatsimulator.com/en/files/3303300/ BiBa...............BigBang WIN 10-64 Pro. MoBo: ASUS ROG STRIX Z390-F GAMING. 1TB Samsung SSD 960 PRO M.2 + 4TB SSD LEXAR 790. CPU: Intel Core i9-9900K. GPU: MANLI RTX 2080 Ti. RAM: HyperX 3200 MHz 64 GB. Monitor: ASUS 4K 28"/VR: Pimax 4K/TrackIR-5/SAITEK X55 Rhino HOTAS-Yoke-Rudder-Trim Wheel-THRUSTMASTER TCA Quadrant.
Rudel_chw Posted January 27, 2019 Posted January 27, 2019 Glad to be of help :) 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