Jump to content

bob100101

Member
  • Content Count

    29
  • Joined

  • Last visited

  • Medals

Everything posted by bob100101

  1. bob100101

    Multiple scripting

    You're using this? this addWeapon "GLT_GBU39_Launcher"; this addMagazine "GLT_4Rnd_GBU39"; As long as you're using the correct classnames, it will work. You can get these by looking inside of a .pdf file included with GLT_Misslebox named "missilebox_readme.pdf"
  2. bob100101

    Multiple scripting

    Yep just place that in the init field of the aircraft. Use the two lines i gave you as the AIM-7 Sparrow is the missle you're referring to as "sparow"
  3. bob100101

    Multiple scripting

    if you're using GLT Misslebox it would be as simple as putting: this addWeapon "GLT_AIM7_Launcher"; this addMagazine "GLT_2Rnd_AIM7"; into the A-10 or other aircraft's init field. Keep in mind though, the missle will not show up on the aircraft's external pylons (if it has any) unless another magazine is first removed, giving space for the AIM-7's to show up on the external pylons.
  4. Nice, simple, easy to use. Might I recommend allowing users to double-click the weapons and items to add them to the crate? I would also recommend that you use while {alive _this} do {}; So it would look something like: while {alive _this} do { // Settings _this allowDamage false; _weaponAmount = 4; _itemAmount = 5; _magAmount = 34; _sleepAmount = s; // 'S' is the amount of sleep time the user has selected //Clear box clearWeaponCargo _this; clearMagazineCargo _this; clearItemCargo _this; //to make sure box is empty of everything clearBackpackCargo _this; //to make sure box is empty of everything //Add to box _this addItemCargo ["item", _itemAmount]; _this addWeaponCargo ["weapon", _weaponAmount]; _this addMagazineCargo ["magazine", _magAmount]; sleep _sleepAmount; };
×