deanosbeano 0 Posted February 11, 2007 hey all, for along time now i have been using wiki and i would say i am about 5 ctds and 20 /3 useless code to right. where i can i try to tell the original poster but this time i think its deffinitely me . how i arrive at the inf o i need mainpage/scripting/arma scritping commands/buildingpos info given = opertion flashpoint 1.00 i have to assume its here because it translates exactly and there dosent need an arma tag ? Syntax: buildingPos [building, index] example 1 Quote[/b] ]soldier setPos (buildingPos [house1, 2]); equivalent to soldier setPos (house1 buildingPos 2) none works in units init then a footnote notes before conversion ? fuck knows why its here , before conversion of what arma or vbs or 1.46 ? anyway new example Quote[/b] ]this setPos getPos (buildingPos [nearestBuilding this, 1]) nothing but errors . now i am sincere in my post.hence the first question what am i doing wrong ? i have tried all above in units init thanks in advance DB Share this post Link to post Share on other sites
SevenBEF 0 Posted February 11, 2007 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">soldier setpos ((object 27121) buildingPos 2) Change the ID of the building (object xxxxx) => If you don't know how, press on the right side the button "show ID's" & then zoom in on the building Share this post Link to post Share on other sites
baddo 0 Posted February 11, 2007 I can say the format <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_unit move (_building buildingPos _i); definitely works in a script in OFP 1.96. My memory tells me that I didn't get the format <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">soldier setPos (buildingPos [house1, 2]) working at the time when I was playing with these. Share this post Link to post Share on other sites