Announcement

Collapse
No announcement yet.

Aadd backpack with custom content?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Aadd backpack with custom content?

    Hey guys, I am new to the whole script editing thing - I see there are a lot of ways with the init-line to make stuff work.

    My question - how do I add a backpack to a unit?
    Lets say - ACE medic needs medic bag with 15x bandage, 15x morphine, 10xepi, how would I do that?


    Thank you very much in advance! Please also guide me to sites where I can look up such stuff!

  • #2
    Re: Aadd backpack with custom content?

    First, add backpack:
    this addWeapon "ACE_BackPack";
    or
    this setVariable ["ACE_weapononback", "ACE_BackPack"];

    Then add stuff:

    this setVariable ["ACE_RuckMagContents", [["30Rnd_762x39_AK47",4],["HandGrenade_East",2],["ACE_30Rnd_762x39_T_AK47",2], ["SmokeShell",1], ["ACE_SSWhite_FG",1]]];

    Equipment classes here:
    http://forums.bistudio.com/showthread.php?t=73241
    http://browser.dev-heaven.net/

    Comment


    • #3
      Re: Aadd backpack with custom content?

      Thanks, perfect!

      Comment

      Connect

      Collapse

      TeamSpeak 3 Server

      Collapse

      Advertisement

      Collapse

      Twitter Feed

      Collapse

      Working...
      X