Dave317 Posted May 21, 2019 Share Posted May 21, 2019 Is there any way to set a waypoints probability? So when an aircraft reaches one waypoint it may skip he next depending what it's probability is. Link to comment Share on other sites More sharing options...
twistking Posted May 21, 2019 Share Posted May 21, 2019 you could use the "switch waypoint" (or something like that) command and have a probability for the command to activate. haven't tested, but should work. My personal wishlist after half a decade with DCS: https://forum.dcs.world/topic/184968-my-personal-wishlist-after-half-a-decade-with-dcs Link to comment Share on other sites More sharing options...
Exorcet Posted May 21, 2019 Share Posted May 21, 2019 What are you trying to do specifically? There could be a few ways of doing this. Besides the switch waypoint method already mentioned, you could make two copies of the aircraft and choose which one spawns randomly beforehand. 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 Link to comment Share on other sites More sharing options...
Dave317 Posted May 21, 2019 Author Share Posted May 21, 2019 I'm editing the dcs campaign base mission and wanted a uh60 appear to randomly fly around the carrier group. As the base missing is used for every mission I didn't want to see the same heli at the same place on every mission. Link to comment Share on other sites More sharing options...
Exorcet Posted May 21, 2019 Share Posted May 21, 2019 I'm not sure what would be the easiest way in this case. Using switch waypoint will let you only have one unit, but you might need a lot of waypoints and switch commands. Setting the helicopter to late activation and making copies is quick, but then you need a lot of activation triggers. Either probably works. You could also try mixing in randomly triggered Orbit tasks to have the helicopter fly between two waypoints if you want it to stay in the air and not just land. 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 Link to comment Share on other sites More sharing options...
Dave317 Posted May 21, 2019 Author Share Posted May 21, 2019 Thanks. I can't find a switch waypoint command though. Link to comment Share on other sites More sharing options...
Exorcet Posted May 21, 2019 Share Posted May 21, 2019 Thanks. I can't find a switch waypoint command though. You can add it as Advanced Waypoint Action. It's under the Type "Perform Command". Then you can add a "Condition" probability for it to go off when the helicopter reaches this waypoint. You can also add it as a Triggered Action. This lacks the "Condition" button and needs to be activated by a trigger in "Set Rules for Triggers" 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 Link to comment Share on other sites More sharing options...
Dave317 Posted May 25, 2019 Author Share Posted May 25, 2019 Only just had a chance to test it. Thank you it works like a charm. Needs some fine tuning for my specific mission but it works well. Link to comment Share on other sites More sharing options...
Recommended Posts