View Full Version : Mission Assistance Required
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 !
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.
Disregard my last... apprently setunitpos isn't working right in ArmA, they go back to Auto by themselves.
Not sure how to fix it.
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 ?
Jan 7 2007, 14:04
Maybe try to make a script telling them to stand up with setunitpos once per second ? Kinda forcefull aproach, but might work http://forums.bistudio.com/oldsmileys/wink_o.gif
Jan 25 2007, 00:14
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.