Home   Help Search Login Register  

Author Topic: Cant Add Magazines???  (Read 542 times)

0 Members and 1 Guest are viewing this topic.

CopyrightPhilly

  • Guest
Cant Add Magazines???
« on: 11 Jul 2004, 17:50:43 »
ok i'm using this to give a unit a weapon + magazines

========================================

_unit=_this select 0

_wep = "BAS_JM4desACOGS"
_mag = "JAM_W556_30SDmag"

removeallweapons _unit

_unit addmagazine _mag
_unit addmagazine _mag
_unit addmagazine _mag
_unit addmagazine _mag

_unit addweapon _wep

exit;

========================================

now for some strange reson it will not give the unit and mags...

if i put this into the units init then it works...

removeallweapons this; this addmagazine "JAM_W556_30SDmag"; this addweapon "BAS_JM4desACOGS";

so any idea what i'm doing wrong???

i bet its sumthing stupid...

cheers, Philly
« Last Edit: 11 Jul 2004, 17:51:31 by CopyrightPhilly »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Cant Add Magazines???
« Reply #1 on: 11 Jul 2004, 18:23:22 »
Is the script starting correctly?

Add

hint "started"

to the beginning of the script to check.   Also make sure you are passing the unit correctly.
Plenty of reviewed ArmA missions for you to play

CopyrightPhilly

  • Guest
Re:Cant Add Magazines???
« Reply #2 on: 11 Jul 2004, 18:38:54 »
yea its start correct because its adding the weapon just fine.

i'm using this the start the scrip

[this] exec "start_weapon.sqs"

cheers, Philly

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Cant Add Magazines???
« Reply #3 on: 11 Jul 2004, 19:50:15 »
Try adding a M16 and M16 mags. Maybe the problem is with the BAS magazine. Also try using that script on yourself (player).
Not all is lost.

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Cant Add Magazines???
« Reply #4 on: 11 Jul 2004, 19:58:04 »
Erm, the DE/RA 1.55 readme says about this weapon

Quote
M4 SOPMOD, ACOG Optics
wpn:   BAS_JM4desACOG
mag:   JAM_W556_30mag OR JAM_W556_30HDmag OR BAS_M4Mag

Unlike the some other weapons, this weapon should have JAM_W556_30mag mags and not JAM_W556_30SDmag mags.
Not all is lost.

CopyrightPhilly

  • Guest
Re:Cant Add Magazines???
« Reply #5 on: 12 Jul 2004, 03:08:56 »
yea looks like its a bas thing, i'll just need to find another way

cheers anyways
Philly

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Cant Add Magazines???
« Reply #6 on: 12 Jul 2004, 15:42:18 »
Another way? Did you try it with the correct magazine string name?
Not all is lost.