Jump to content
Sign in to follow this  
Nev1571

Is WeaponHolder broken?

Recommended Posts

I was just wondering if WeaponHolder still works in Arma 3? I tried following a couple of Arma 2 how-tos in order to spawn weapons on the ground, but none of the code appears to function in Arma 3. However, as I never did any mission editing in Arma 2, it's possible that this is a case of user error.

I'd appreciate it if someone knowledgeable could confirm whether or not it's broken, and possibly offer an alternative for spawning weapons on the ground.

I am attempting to use the WeaponHolder by creating a Game Logic module with the name "AKM" where I place the following code in its init section:

AKM = "WeaponHolder" createVehicle getPos this; AKM addWeaponCargo ["arifle_TRG20_F",1]; AKM setPos [getPos this select 0,getPos this select 1,0.78]; AKM addMagazineCargo ["30Rnd_65x39_case_mag",2]; AKM SETDIR 90

I can run the mission with no errors, but there is no weapon located at the position of the Game Logic module.

Thank you. :)

Share this post


Link to post
Share on other sites

You appear to be entirely correct! Thank you! :)

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  

×