Jump to content

Recommended Posts

Posted (edited)

Hi everyone! I'm pretty new with the DCS World Mission Editor, but have managed to create a few simple missions successfully. Now, however, I am facing two issues with my latest attempt at generating a mission with some random parameters. Both problems are related to this screenshot:

 

https://dl.dropboxusercontent.com/u/65381625/2014-10-26_00001.jpg

 

PROBLEM 1 - The RANDOM variable

When a player arrives inside a trigger area, flag 1 is set to true.

 

Then we run the trigger seen in the image:

- Time since flag 1 is 20

AND

- Flag 1 is TRUE

AND

- RANDOM 30

 

If this check passes, flag 1 is set to FALSE and some units are spawned. So basically it's a 20 second delay and then 33% chance to spawn the units.

 

Problem is: this set of units ALWAYS spawns. I've tested the script over 20 times and it always passes. This leads me to believe that the RANDOM variable is not working as intended. Has anyone encountered this type of issue or is there something I might be doing wrong?

 

 

PROBLEM 2: Spawned units are idle

 

[THIS PROBLEM IS RESOLVED. CUASE: The waypoint went across terrain too rough, so the unit declined to move. Adding more waypoints that guided the unit so that it could avoid the rought terrain and steep inclines allowed the unit to move without issue]

 

In the screenshot provided, the trigger runs and spawns the units as intended. A group of 4 tanks appear in a valley and have a waypoint set on top of an enemy compound with some enemis within. Distance is 3+ nm.

 

The tanks spawn, move into a formation around the lead tank and then... nothing. They do not move at all, but simply just sit there. I added the GROUP RESUME action to see if that would help, but it seems to have done nothing.

Edited by WHAMtheMAN
  • Recently Browsing   0 members

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