Jump to content
Sign in to follow this  
Phantasm

this addWeaponCargo bug - can't see weapons put in cargo

Recommended Posts

Since I can't take screenshots due to OA's nature-

the init field is this

clearWeaponCargo this; this addMagazineCargo["M110_TWS_EP1"];

this addWeaponCargo["20Rnd_762x51_B_SCAR,2"];

On a M1A2 TUSK, named Armor1

I've used the command

this moveInCargo IFV1;

to move my player character into a Bradley nearby- but i don't think that would interfere with anything

anyway, so I preview the mission, get out- walk right to the tank nearby, and hit G for gear- and I can't see the weapons that i've added.

I bet this would work if i used LEA but I'm trying to not use LEA and to do it manually.

I have also done this to THE Bradley that I have my Medic character start out-but i can't see any weapons in there either. For the Bradley, the init field is

clearWeaponCargo this; this addMagazineCargo ["20Rnd_762x51_B_SCAR,1"]; this addWeaponCargo ["M110_TWS_EP1,3"];

I suspect the numerical amounts of said weapons might be messing me up- but i've tried every combo, from ["M110_TWS_EP1"]; to "M110_TWS_EP1"; , etc....no luck no matter what I do.

any ideas? I started this out following a ARMA 2 tut on adding weapons to vehicles to the T- didn't work.

I chose to use the clearWeaponCargo field because I figured "Well, vehicles have a limited cargo space I hear, so might as well clear out anything in there ahead of time"); I hope its not hurting me- but I did try getting rid of it- no luck.

Share this post


Link to post
Share on other sites
clearWeaponCargo this; this addMagazineCargo ["20Rnd_762x51_B_SCAR,1"]; this addWeaponCargo ["M110_TWS_EP1,3"];

Should be:

clearWeaponCargo this; this addMagazineCargo ["20Rnd_762x51_B_SCAR",1]; this addWeaponCargo ["M110_TWS_EP1",3];

You're putting the quote marks "" in the wrong places.

Share this post


Link to post
Share on other sites

You can also use the global versions of those commands to make things in MP easier.

Share this post


Link to post
Share on other sites
Should be:

clearWeaponCargo this; this addMagazineCargo ["20Rnd_762x51_B_SCAR",1]; this addWeaponCargo ["M110_TWS_EP1",3];

You're putting the quote marks "" in the wrong places.

Thanks for the heads up

Oddly enough, using this adjusted script

clearWeaponCargo this; this addMagazineCargo ["20Rnd_762x51_B_SCAR",1]; this addWeaponCargo ["M110_TWS_EP1",3];

- I still can't see the weapons in the Bradley or M1 when I spawn in. I'd even been wondering if the moveincargo command i use to start my guy out in the bradley interferes. I doubt it.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×