Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Weapon on back

  1. #1
    how can i put a weapon on someone's back . tx

  2. #2
    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.

  3. #3
    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.

  4. #4
    unit1 action ["WEAPONINHAND"]
    unit1 action ["WEAPONONBACK"]

    dmakatra says: \"It\'s not as funny when out of context me thinks. And I\'ve forgotten the context, which sort of makes it boring.\"

  5. #5
    Quote Originally Posted by (XCess @ Dec. 25 2006,15:15)
    unit1 action ["WEAPONINHAND"]
    unit1 action ["WEAPONONBACK"]
    Nope.
    Ain't working for me.
    It says:
    Quote Originally Posted by [b
    Quote[/b] ]'soldier |#|action ["WEAPONONBACK"] '
    Error Field has 1 component, should have 2
    Do I understand it correctly that "unit1" is soldier's name ?




  6. #6
    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.




  7. #7
    Still same.
    Even with this setBehaviour "SAFE"

    EDIT on EDIT: Yes, I suspected that this was the problem.




  8. #8
    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.

  9. #9
    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 &#91;&#34;WeaponOnBack&#34;&#93;[/QUOTE]
    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 &#34;WeaponOnBack&#34;[/QUOTE]
    than it&#39;ll just say what I&#39;ve typed before:
    Quote Originally Posted by [b
    Quote[/b] ]&#39;soldier &#124;#&#124;action ["WEAPONONBACK"] &#39;
    Error Field has 1 component, should have 2
    EDIT: Now I found that out &#33;
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player action &#91;&#34;WeaponOnBack&#34;, UNIT_NAME&#93;[/QUOTE]
    But unfortunately it&#39;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 &#34;SAFE&#34; &#40;&#34;CARELESS&#34;&#41;[/QUOTE] .




  10. #10
    Try
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
    player action &#91;&#34;WeaponOnBack&#34;,player&#93;
    [/QUOTE]
    And yes, I did miss the [ ] in my previous post

    **edit**
    Looks like you already found it




Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •