1in1class 0 Posted November 30, 2008 yes iv been trying to get my units and other units to be position in an out post tower and yet they just fall down, how do i get the units to be in the towers? I know that you put someting in the int line but what? Plz help me on this issue. This is what i put in the int line this sepos [(getpos this select 0),(getpos this select 1),1.0] or 2.0 for the how high i would like the unit to be but when putting the unit in an tower the unit just falls. Share this post Link to post Share on other sites
ArmaVidz 0 Posted November 30, 2008 This is the line I use when I place units: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">This setPos [ getPos this select 0, getPos this select 1, (getPos this select 2) +10] You can change the +10 to what you like. And if you want the units to stay in the towers you may have to add <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">doStop this after the setPos command. The full init line would like this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">This setPos [ getPos this select 0, getPos this select 1, (getPos this select 2) +10]; doStop This That doesn't always keep them in the building/tower though. You can set a waypoint right ontop of some structures and in the waypoint there may be "positions" available to have your soldier climb into - if the structure supports it. Share this post Link to post Share on other sites
1in1class 0 Posted November 30, 2008 k about to try this but you said that i can get the units to climb the tower by way point? How would i do this? Share this post Link to post Share on other sites
1in1class 0 Posted November 30, 2008 Nice thank you got the units in the towers now thank you vary much Also about the unit getting in an tower by climbing it by way point how is this done Share this post Link to post Share on other sites
ArmaVidz 0 Posted November 30, 2008 You select the unit you want to get in a structure, click F4 in the editor, put your cursor directly over the structure you want him to go into, put a waypoint on the structure. In the waypoint's settings, if the structure has "positions" configured in it, an additional box will be visible half way down the screen with "Position 1" "Position 2" etc. Share this post Link to post Share on other sites
hoz 0 Posted December 2, 2008 Moving to Mission and editing. Share this post Link to post Share on other sites
wika_woo 182 Posted December 4, 2008 But... How can you set it so you want to use it with an animation?.. It's kinda hard to explain.. Say for instance a MODUL statick anim over an object with a certain height?.. Thanks Share this post Link to post Share on other sites
Namikaze 0 Posted December 4, 2008 If you're already using a static animation, your best bet is probably to just stick with setPos and setPosASL. If you were trying to watch a unit move up a ladder and then interact with something for a while (via a dynamic animation), then move back down (for example) that would be a little more complicated and I probably don't have an answer for you. But yeah, if you're using a static animation you should probably just stick with setPos because it's not like the animation is as important as the pose. Share this post Link to post Share on other sites
wika_woo 182 Posted December 7, 2008 Thanks for the responce and yeah I thought it would be a little complicated ... But as for the waypoint command version of setpos in buildings i still cant get my head around them... Share this post Link to post Share on other sites