Jump to content

Waypoint probability


Dave317

Recommended Posts

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

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

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...