Royal_Blackwatch 0 Posted February 15, 2002 I´m currently working on a mission and need an array were all the Refuel Trucks of my side are listed, not just those of my squad (not the amount of them). Is there a way to handle this? Share this post Link to post Share on other sites
ConanOfOz 0 Posted February 16, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Royal_Blackwatch @ Feb. 16 2002,05:20)</td></tr><tr><td id="QUOTE">I´m currently working on a mission and need an array were all the Refuel Trucks of my side are listed, not just those of my squad (not the amount of them). Is there a way to handle this?<span id='postcolor'> assuming you don't have *too* many of these to deal with, name them something like "Repair1, Repair2" and so on, add the following to your init.sqs... </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> RepairArray = [Repair1, Repair2, ...Repairn] <span id='postcolor'> Don't forget the array is 0-based Share this post Link to post Share on other sites
Royal_Blackwatch 0 Posted February 16, 2002 Thank you! Although my question wasn`t precise enough you`ve brought me to the right way! Share this post Link to post Share on other sites