title: How to generate random true/false result in Anylogic
body: <p>Iam new to anylogic. I want to generate random true false results to control parameter in Select Output.</p>
  <p>I used this if else conditions in my source</p>
  <pre><code>
  if(randomTrue(0.25)){
      if(randomTrue(0.5)){
          agent.isOnlineRezerve = true;
      }else { 
          agent.isOnlineRezerve = false;
      }
  }else{
      agent.isOnlineRezerve = false;
  }
  </code></pre>
  <p>My condition of source output is</p>
  <pre><code>agent.isOnlineRezerve
  </code></pre>
  <p>Every time I run it it gives me 128 out of 1000 true and the rest false</p>
  <p>I want to get a number other than 128 each time, but I couldn't do it. I would be glad if you help.</p>