YoYo Posted September 26, 2023 Posted September 26, 2023 (edited) Hi, any idea which command in triggers areas can I use for this? Id like to do flight by waypoints. Each flight over the correct waipoint (area trigger > unit inside a zone) along the route should add some scores. Completing all of them would mean completing the entire mission (offline) and 100 points. Is it possible? If so, can you guide me on the best commands to use (or solve it differently)? Thx! Edited September 26, 2023 by YoYo Webmaster of http://www.yoyosims.pl Win 10 64, i9-13900 KF, RTX 5090 32Gb OC, RAM 64Gb Corsair Vengeance LED OC@3600MHz,, 3xSSD+3xSSD M.2 NVMe, Predator XB271HU res.2560x1440 27'' G-sync, Sound Blaster Z + 5.1, TiR5, [MSFS, P3Dv5, DCS, RoF, Condor2, IL-2 CoD/BoX] VR fly only: Meta Quest Pro
Solution cfrag Posted September 26, 2023 Solution Posted September 26, 2023 (edited) I'm not entirely sure that I understand what poses a problem for you - maybe there are some other conditions that you are thinking of and are obvious to you, but not me... Otherwise, yes, I'd create the mission exactly as you suggest: place trigger zones at the locations for the waypoints for each trigger zone, add a Once trigger with condition 'unit in zone' and action "increase flag value", and perhaps use a flag named 'score' - that way once the unit is inside the zone, the flag "score" in increased by one Have a 'win condition' that triggers when the flag "score" EQUALS (number of scoring waypoints) You should be done. What am I overlooking? Edited September 26, 2023 by cfrag 1
YoYo Posted September 26, 2023 Author Posted September 26, 2023 9 minutes ago, cfrag said: I'm not entirely sure that I understand what poses a problem for you - maybe there are some other conditions that you are thinking of and are obvious to you, but not me... Otherwise, yes, I'd create the mission exactly as you suggest: place trigger zones at the locations for the waypoints for each trigger zone, add a Once trigger with condition 'unit in zone' and action "increase flag value", and perhaps use a flag named 'score' - that way once the unit is inside the zone, the flag "score" in increased by one Have a 'win condition' that triggers when the flag "score" EQUALS (number of scoring waypoints) You should be done. What am I overlooking? Thx. These two topics also gave me an idea as well. Maybe it will be useful to someone. I checked and it works. Webmaster of http://www.yoyosims.pl Win 10 64, i9-13900 KF, RTX 5090 32Gb OC, RAM 64Gb Corsair Vengeance LED OC@3600MHz,, 3xSSD+3xSSD M.2 NVMe, Predator XB271HU res.2560x1440 27'' G-sync, Sound Blaster Z + 5.1, TiR5, [MSFS, P3Dv5, DCS, RoF, Condor2, IL-2 CoD/BoX] VR fly only: Meta Quest Pro
Recommended Posts