Kermit 0 Posted January 10, 2003 Can one set the probability of presence for an entire group, so that either the group will be there at the start of the mission or it won't? If you do it individually for each unit in the group, then at the start of the mission that group is quite sparse, but always there are some units there (although technically if you restarted the mission several billion times, there'd be a time when they are all there or none are there). Perhaps something could be arranged by assigning the group an identification? Share this post Link to post Share on other sites
seedhe 0 Posted January 10, 2003 You could set the probability of presence of the groups leader and have - not alive leaders_name in the condition field of a trigger and delete the group in the on activation field. Share this post Link to post Share on other sites
Ottie 0 Posted January 10, 2003 You can also fill in in the condition of presence field of the groupmembers alive leaders_name, then you don't have to delete the units with a trigger. Share this post Link to post Share on other sites
Bart.Jan 0 Posted January 10, 2003 Nay, it's not working for me. Did you tested it ? Put in init field of all group members : grp1 and include this code into init.sqs script : </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> _i=random 100 grp1=true ?_i>80:grp1=false <span id='postcolor'> It gives you 80% chance that all units with grp1 in init field will be present on map. Share this post Link to post Share on other sites
Bart.Jan 0 Posted January 11, 2003 Oops. I tried the way I decribed in previous post, but it is not working for me. I used it in several missions in past (OFP ver.1.46-) and I thought it was working correctly. But today I tested one of these old missions and it's not working anymore. (v.1.46 even v.1.91) Only condition of presence that works is cadetmode. What's wrong with it ? Is only sollution to use deleteVehicle command now ? Share this post Link to post Share on other sites
Chris Death 0 Posted January 12, 2003 Nah Bart, Ottie's solution is still ok for me. Leader: probability of presence: 50% And into each groupmember's condition of presence field: alive leadername (off course except the leader's c-o-p field). ~S~ CD Share this post Link to post Share on other sites
Bart.Jan 0 Posted January 12, 2003 Strange. It's not working for me. Only leader shows up or not, but all group members (with alive leadername in condition) never shows up. Share this post Link to post Share on other sites