Kotp 0 Posted December 5, 2006 Hi guys , has been a while since i made any missions , but had to give the new Armed Assault a bash. Trying to keep the AI Enemy Units from hitting the Deck when they see the opposing force. Any ideas what i need to stick in the INIT Line of each soldier or if theres a script available to keep the units either standing up or in the crouch position. Thanx in advance guys ! Share this post Link to post Share on other sites
b1sh0p 0 Posted December 6, 2006 setunitpos "up" You can set it to up, down, or auto. Â You can just put setunitpos "up" in the unit's init field, or you can do it from other sources by unit_name setunitpos "value", so you can change it as the mission goes on. Not sure how to keep them crouched. Share this post Link to post Share on other sites
b1sh0p 0 Posted December 6, 2006 Disregard my last... apprently setunitpos isn't working right in ArmA, they go back to Auto by themselves. Not sure how to fix it. Share this post Link to post Share on other sites
Kotp 0 Posted December 6, 2006 Cheers anyway Bishop mate , that was the first thing i tried as it worked lovely in OFP. Apparently ive found out that you can keep the Units Standing up by giving them a Radio Command but bit unsure how to do this. Anyone know of a way to do this ? Thanx guys. Share this post Link to post Share on other sites
SeXyWombat 0 Posted January 7, 2007 Maybe try to make a script telling them to stand up with setunitpos once per second ? Kinda forcefull aproach, but might work Share this post Link to post Share on other sites
Knigget 0 Posted January 25, 2007 Place this in an AI unit's init field: this setBehaviour "COMBAT"; this setUnitPos "UP" This works for single units. The unit must be placed in combat mode before setunitpos works in ArmA (at least for the german 1.02 version) You can now order the units to stand up / lie down from scripts and triggers. Cheers. Share this post Link to post Share on other sites