miggie 0 Posted December 25, 2006 how can i put a weapon on someone's back . tx Share this post Link to post Share on other sites
Deadfast 43 Posted December 25, 2006 I don't think it's possible. In ArmA I've only managed to make soldier tilt his weapon. You can do it by setting his behaviour to safe or careless. Share this post Link to post Share on other sites
-CS-SOBR-1st-I-R- 0 Posted December 25, 2006 Weapon to back ? Well... I only know that if you chose your AT weapon and get down again, you have both, your rifle and your AT launcher on your back. The other thing is you can double tab (2x) left Ctrl to harness your rifle. Share this post Link to post Share on other sites
XCess 0 Posted December 25, 2006 unit1 action ["WEAPONINHAND"] unit1 action ["WEAPONONBACK"] Share this post Link to post Share on other sites
Deadfast 43 Posted December 25, 2006 unit1 action ["WEAPONINHAND"]unit1 action ["WEAPONONBACK"] Nope. Ain't working for me. It says: Quote[/b] ]'soldier |#|action ["WEAPONONBACK"] 'Error Field has 1 component, should have 2 Do I understand it correctly that "unit1" is soldier's name ? Share this post Link to post Share on other sites
XCess 0 Posted December 25, 2006 Yes, unit1 is the name you give the soldier when creating him. Keep in mind that the unit has to be in the correct behaviour mode to have the weapon on back (safe or careless) Oh yes, I forgot to mention that the weaponOnBack animation has been changed in Armed Assault, it now resembles Sanctuary's Patrol Anim pack in that the soldiers just hold their weapons low rather than slining them over their shoulder. Share this post Link to post Share on other sites
Deadfast 43 Posted December 25, 2006 Still same. Even with this setBehaviour "SAFE" EDIT on EDIT: Yes, I suspected that this was the problem. Share this post Link to post Share on other sites
XCess 0 Posted December 25, 2006 Go into the editor. Place a player unit. In the init field type [this setBehaviour "safe"] Now create a trigger activated by radio In the onActivation type [player action "WeaponOnBack"] Now preview, fire off a shot to get the weapon in ready state, and then hit the radio trigger. Thenyou'll see the difference this command makes, not much, but it's nicer for patrolling than having the weapon at a constant ready state. Share this post Link to post Share on other sites
Deadfast 43 Posted December 25, 2006 Now I can't even get this inside the field. If you mean <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player action ["WeaponOnBack"] instead of <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player action "WeaponOnBack" than it'll just say what I've typed before: Quote[/b] ]'soldier |#|action ["WEAPONONBACK"] 'Error Field has 1 component, should have 2 EDIT: Now I found that out ! <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player action ["WeaponOnBack", UNIT_NAME] But unfortunately it'll do same thing like <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this setBehaviour "SAFE" ("CARELESS") . Share this post Link to post Share on other sites
XCess 0 Posted December 25, 2006 Try <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> player action ["WeaponOnBack",player] And yes, I did miss the [ ] in my previous post **edit** Looks like you already found it Share this post Link to post Share on other sites
Deadfast 43 Posted December 25, 2006 Check previous post. Just found that out. Unfortunately it's a same thing like setting behaviour to safe or careless. Share this post Link to post Share on other sites
miggie 0 Posted December 25, 2006 too bad. it is possible for like some seconds when u take a soldier and in the debug thing you give him te weapon.. than it will be on his back. until he moves off course 2 bad Share this post Link to post Share on other sites
mattxr 9 Posted December 25, 2006 I wish we could carry 2 weapons at the same time have one in hand and one on back. As we have seen we can get a weapon on the back and a AT weapon.. hope BIS make it possible. Share this post Link to post Share on other sites
AdmiralKarlDonuts 0 Posted December 28, 2006 I've found that the player can't holster a sidearm either. AIs in safe mode will put the pistol away and run around as if they're unarmed - unlike OFP where you could always tell if someone was concealing a pistol. Make yourself a US officer and no matter what behaviour you're in you'll have the M9 in your hand. I put setbehaviour safe in the init field and made 2 playable characters - start as the officer with gun in hand, then switch to the other guy: he'll put the gun away when you switch players and then if you switch back, you'll immediately whip it out again. Very annoying. What you can do is use the action command to put the pistol away, but then you look as if you're holding an invisible rifle. Share this post Link to post Share on other sites
ColonelSandersLite 0 Posted December 28, 2006 That's kinda neat that AI's do that though. You could do something with concealed weapons and a checkpoint that would come out pretty nifty if done right. Share this post Link to post Share on other sites
otester 0 Posted December 28, 2006 So how do I set a name for each unit, in the init field? Share this post Link to post Share on other sites
Big Dawg KS 6 Posted December 28, 2006 So how do I set a name for each unit, in the init field? The name field... Share this post Link to post Share on other sites