Home   Help Search Login Register  

Author Topic: add ammo to player before breifing/gear  (Read 977 times)

0 Members and 1 Guest are viewing this topic.

Offline schuler

  • Contributing Member
  • **
add ammo to player before breifing/gear
« on: 12 Sep 2007, 00:14:31 »
  add ammo to player before briefing/gear. I am using Jam weapons and i just want the player to have M4_mags not Jam mags in his gear before briefing. in other words i don't want him to make the selection of mags, only weapons.
  cheers schuler
Semper Fi

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: add ammo to player before breifing/gear
« Reply #1 on: 12 Sep 2007, 01:35:57 »
Is this for SP? If so just use the unit's init.
Code: [Select]
this exec "loadout.sqs"
loadout.sqs
Code: [Select]
_unit = _this
_unit removeAllWeapons
{_unit addMagazine "M4_MAG_NAME"} forEach [1,2,3,4,... up to how many mags you want]
_unit addWeapon "WEAPON_NAME"


urp!

Offline schuler

  • Contributing Member
  • **
Re: add ammo to player before breifing/gear
« Reply #2 on: 12 Sep 2007, 02:18:12 »
I'll give that a go! thanks, yea SP mission.
 schuler
Semper Fi