cayden1988 10 Posted May 23, 2009 Hey all, I've been playing OPF a lot since I got it last year, and I've learned a fair bit when it comes to commands and such in this game. At the moment, I am looking for some kind of command that forces a unit to crouch and stay in that position unless otherwise. I have looked around and the closest command I can get to forcing the unit to remain in a position is this SetUnitPos "Up/DOWN/Auto" However, it isn't what I'm looking for. I'm hoping someone knows a command that forces a unit to stay in the Crouched position like the above command does with UP and DOWN. Thanks in advance. Share this post Link to post Share on other sites
DespairsRay 0 Posted May 23, 2009 Just a quick reply, But there isn't a crouch command like that, I wish, not sure why they didn't add that in for resistance, would of been nice to have a unit only crouch and stand. But since you can't the way to make a unit crouch is more forceful, you have to use a switchmove / playmove command I think, you have to force them to stay in a crouch animation. Not quite as smooth. But I have seen some scripts like the AI cover script use it dynamically. Share this post Link to post Share on other sites
cayden1988 10 Posted May 24, 2009 What a bummer hey? Wonder why they wouldn't implement such a basic thing...they did it for the other stances, oh well! Thanks for the info man. Share this post Link to post Share on other sites
ProfTournesol 956 Posted May 24, 2009 What a bummer hey? Wonder why they wouldn't implement such a basic thing...they did it for the other stances, oh well! Thanks for the info man. This is corrected in ArmA. ArmA was ment to be a progress compared to OFP :rolleyes: Share this post Link to post Share on other sites
2nd ranger 282 Posted May 26, 2009 (edited) Yeah if you put this in the init line of the unit this setbehaviour "combat"; this switchmove "combattocrouch"; this setunitpos "up" They will stay in the combat crouch position. Edited June 14, 2009 by 2nd Ranger Share this post Link to post Share on other sites
DespairsRay 0 Posted May 26, 2009 Found a link for ya, check it out. http://www.ofpec.com/forum/index.php?topic=24748.0 Share this post Link to post Share on other sites
cayden1988 10 Posted June 2, 2009 Yeah if you put this in the init line of the unitthis setbehaviour "combat"; this switchmove "combattocrouch"; this setunitpos "up"" They will stay in the combat crouch position. Oh mad, it works! Thanks man, just what I was looking for! Share this post Link to post Share on other sites