sizraide 4 Posted December 21, 2021 Hello, Somehow the setUnitPos "UP" is not working. When the unit is crouched, setUnitPos "UP" won't work; however, if the unit was prone then setUnitPos "UP" works. Is the command broken? I thought the AI was bugged when I used it so I recreated the unit but it still occurs, any thoughts? Share this post Link to post Share on other sites
Maff 246 Posted December 24, 2021 The setUnitPos command is working for me. Make sure you are using the command correctly. Also, Are you using any AI mods? Share this post Link to post Share on other sites
sizraide 4 Posted December 24, 2021 9 hours ago, Maff said: The setUnitPos command is working for me. Make sure you are using the command correctly. Also, Are you using any AI mods? Nope, just 3den Enhanced. My script is just: _unit setUnitPos "MIDDLE"; _unit setUnitPos "UP"; My unit has no animation, or anything to prevent it from crouching and standing up. EDIT: I've created other units and tested it on them, still the same results. Share this post Link to post Share on other sites
Harzach 2505 Posted December 24, 2021 6 hours ago, sizraide said: My script is just: It must be more than that, as _unit is undefined. 1 Share this post Link to post Share on other sites
sizraide 4 Posted December 24, 2021 2 minutes ago, Harzach said: It must be more than that, as _unit is undefined. Oh, my bad. _unit is already defined, but the results still the same. Share this post Link to post Share on other sites
ZaellixA 383 Posted December 25, 2021 Could you post a demo mission that replicates just that? This way other people would be able to test your exact setup. Share this post Link to post Share on other sites
britforce 9 Posted December 25, 2021 this setUnitPos "UP" or indeed name the unit fred setUnitPos "UP" 1 Share this post Link to post Share on other sites
ZaellixA 383 Posted December 25, 2021 6 hours ago, britforce said: this setUnitPos "UP" or indeed name the unit fred setUnitPos "UP" If _unit is defined then what you suggest should have the same results. Additionally, this is "valid" only in the init box of an object/unit. 1 Share this post Link to post Share on other sites
britforce 9 Posted January 12, 2022 On 12/25/2021 at 5:49 PM, ZaellixA said: If _unit is defined then what you suggest should have the same results. Additionally, this is "valid" only in the init box of an object/unit. I know. ;) Share this post Link to post Share on other sites