Linker Split 0 Posted August 19, 2007 Hi all, I have a question: I'm making a CQB mission for my HDT Island, and I need to know if it's possible to set the "unit pos" (UP,DOWN,AUTO) as condition. So I mean, when my soldier is in position "DOWN", the enemy will not see him, and so on... do you understand? plz help me. I don't know how to do it. In a few words: I want the "setUnitPos" command to work not as an activated command, but as a condition command. i know it's impossible to use the setunitPos as condition, but is there a way to implement it? If I try: Condition: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{_x setUnitPos "DOWN"} count westside == 1 will it work? thanks for your answers Linker Split Share this post Link to post Share on other sites
ProfTournesol 956 Posted August 27, 2007 In Ofp, there is no command that allows you to check the "stance" of a soldier. Fortunately it is possible in ArmA. Wiki about UnitPos in ArmA Unfortunately some of us don't like ArmA... Share this post Link to post Share on other sites
baddo 0 Posted August 27, 2007 Are you doing that for AI units or to player units? For AI units one solution could be to force them kneel / prone everytime they are not moving for a long enough time and set a global variable to indicate their stance. I've used a trigger to make AI units automatically kneel when not moving. I check the speed and if the unit is not wounded too much, and then set the unit to kneel. There is a small delay before kneeling. Into that trigger could as well go a global variable which you would set true/false. Of course this could be done in a script too. If it's for player units then this won't work. Share this post Link to post Share on other sites
ricki 0 Posted September 22, 2007 edit: whoops sorry wrong board - thought you gotta go for arma never mind regards rocko Share this post Link to post Share on other sites