thirdrm 0 Posted August 14, 2006 Hello all, i was wondering how I would go about making it so that if you complete all the objectives you win. I would do a simple kill everytthing and win, but in my mission you dont need to kill everything just select people. Share this post Link to post Share on other sites
SevenBEF 0 Posted August 15, 2006 Set up an End trigger and in its condition put: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">!(alive unit1) for example. for more units to kill try <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"alive _x" count [unit1,unit2,unit3,unit4] == 0 Share this post Link to post Share on other sites
thirdrm 0 Posted August 15, 2006 That is no my question, my question is how do i make it after you do all your objectives the misison ends. Share this post Link to post Share on other sites
SevenBEF 0 Posted August 15, 2006 If you have multiple objectives: Trigger objective one: condition: !(alive unit1) on activ: "1" ObjStatus "Done"; ob1 = true Trigger objective two: condition: !(alive unit2) or whatver condtion you want... on activ: "2" ObjStatus "Done"; ob2 = true and so on... And make one End trigger for when the mission is a succes. In its condition field put: ob1 AND ob2 Hope this is what you need; if not plz post ur objectives here which would be easyer to explain then. Greetz Share this post Link to post Share on other sites
mattxr 9 Posted August 15, 2006 sry.. can anyone tell me whats wrong with this crwgrp = groupthis; "_x moveincargo M131" foreach units crwgrp it never seems to work for me Share this post Link to post Share on other sites
mattxr 9 Posted August 16, 2006 sry.. can anyone tell me whats wrong with this  crwgrp = groupthis; "_x moveincargo M131" foreach units crwgrp it never seems to work for me  does anyone please know whats wrong.. for a mission to be complete i want all the units to start in the vehical and i dont want to do it the long way by setting every unit in game like "man1 moveincargo boat1" for about 13 groups of men Share this post Link to post Share on other sites
mattxr 9 Posted August 16, 2006 i know somebody knows.. please.. i got to get this mission pack released ive started on a project which im not going to quit on ive even made my own mission editors quide so i dont froget the simple hard codes of mission editing [Check abouve post] Share this post Link to post Share on other sites
jdarbyshire 0 Posted August 19, 2006 no, not if you aren't going to do a simple search... also you have hijacked this thread which is not on either! so go and find out yourself. Share this post Link to post Share on other sites
mattxr 9 Posted August 20, 2006 no, not if you aren't going to do a simple search... also you have hijacked this thread which is not on either! so go and find out yourself. Your welcome, i did do a search, and no luck and this threds question was answered so i guessed instead of making a new thred for such a little question was pointless. Share this post Link to post Share on other sites
SevenBEF 0 Posted August 31, 2006 ehm <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">crwgrp = groupthis; "_x moveincargo M131" foreach units crwgrp groupthis should be group this? as for the m131 is that a new m113? *or maybe I'm not really awake yet hmm Share this post Link to post Share on other sites