thermos 0 Posted June 3, 2007 Hi all got a question. I'm working on a mission and in order to go to the outro i call brief.sqs to check if all players are in the chopper: @ (PlayerName1 in ChopperName) && (PlayerName2 in ChopperName) && (PlayerName3 in ChopperName) "8" objStatus "done" ~1 cutText ["","black out",5] ~4.5 this exec "outro.sqs" exit this works great unless someone dies on the mission. And i can't figure out the correct syntax for it. What i would like it to do is say. Not Code but the question: @ if PlayerName1 alive (PlayerName1 in ChopperName) && if PlayerName2 alive (PlayerName2 in ChopperName) && if PlayerName3 alive (PlayerName3 in ChopperName) anyone know how i would code the above question. Thanks so much for any help, thermos Share this post Link to post Share on other sites
snkman 351 Posted June 3, 2007 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">(((alive (PlayerName1)) && ((PlayerName1) in ChopperName)) && ((alive (PlayerName2)) && ((PlayerName1) in ChopperName)) && ((alive (PlayerName1)) && ((PlayerName3) in ChopperName))) Share this post Link to post Share on other sites