dob 0 Posted March 6, 2007 How doing that "unit stay standup ?" or stay prone, crouch ? any way ? Share this post Link to post Share on other sites
messiahua 0 Posted March 6, 2007 http://community.bistudio.com/wiki/setUnitPos Share this post Link to post Share on other sites
Drew77 0 Posted March 6, 2007 This does not work beasue the unit get set back to auto and never stay standing, You have to make a script for it. Share this post Link to post Share on other sites
Messiah 2 Posted March 6, 2007 yes it does - works fine for me. this setunitpos "down" this setunitpos "middle" this setunitpos "up" Share this post Link to post Share on other sites
charonos 0 Posted March 6, 2007 @Drew77: That was a long awaited fix with patch 1.05, the command is working now as intended. Share this post Link to post Share on other sites
Drew77 0 Posted March 6, 2007 thats weird because I do this setunitpos up and once a shot is fired they jump to the ground. Share this post Link to post Share on other sites
Big Dawg KS 6 Posted March 6, 2007 thats weird because I do this setunitpos up and once a shot is fired they jump to the ground. Patch your game, setUnitPosWeak was introduced in v1.04 to give FSMs lower priority than setUnitPos (for mission editors and scripters to use). Also, remember the second parameter is string and needs to be in quotes: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this setunitpos "UP" Share this post Link to post Share on other sites
Drew77 0 Posted March 6, 2007 Ok thanks you very mutch, I bought the game patched I got the english sproket version. But it seems to be working now. Thanks again. Share this post Link to post Share on other sites
dob 0 Posted March 6, 2007 for me that's ok but in "setunitpos"up" some time the ia go midle, but is enough for me i'v just in the init of the ia write "this setunitpos" whith atribute write above, and i v'not need script Share this post Link to post Share on other sites