gunut82 0 Posted April 6, 2017 Hello, i am writing a mission and I am hitting a hurdle that I can not get over. I have not been able to find any info on the web about what I am trying to do. I am making a mission that involves a hostage providing you with Intel. I want there to be a 50/50 chance that the Intel they provide is good or bad Intel. If good info is randomly generated I want to take the squad down the storyline if bad Intel is provided I want to send the squad into an ambush. Thank you Share this post Link to post Share on other sites
sarogahtyp 1108 Posted April 7, 2017 What did you try already and what problem has occured? Share this post Link to post Share on other sites
gunut82 0 Posted April 7, 2017 I do not really know where to start. I am looking for suggestions. Share this post Link to post Share on other sites
opusfmspol 282 Posted April 8, 2017 _rnd = Random 1; if (_rnd < .5) then { // ambush } else { // good info }; In a script you would use ( _rnd ), in an editor trigger you would use ( rnd ) instead. Editor triggers don't much use local variables. Share this post Link to post Share on other sites