Page MenuHomeFeedback Tracker

add(XXX)WeaponItem doesn't work with other muzzles & lacks wiki page
New, WishlistPublic

Description

Related to the commands added in 1.37 (http://feedback.arma3.com/view.php?id=21469) These commands were never listed in the wiki yet work partially.

I have a script that heavily depends on these commands to work. Hoping for a fix.

Details

Legacy ID
1590229222
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce
  • spawn { player removeprimaryweaponitem "30Rnd_65x39_caseless_mag"; works sleep 1; player addprimaryweaponitem "30Rnd_65x39_caseless_mag"; works sleep 1; player removeprimaryweaponitem "1Rnd_HE_Grenade_shell"; works sleep 1; player addprimaryweaponitem "1Rnd_HE_Grenade_shell"; doesnt add back

}

this also doesnt work

player addweaponitem [primaryweapon player, "1Rnd_HE_Grenade_shell"];

This also doesnt work

player addWeaponItem [currentWeapon player,["1Rnd_HE_Grenade_shell",1,currentMuzzle player]];

same as this

player addWeaponItem ["arifle_MX_GL_ACO_F",["1Rnd_HE_Grenade_shell",1,"GL_3GL_F"]];

doesnt add either

and...
player addprimaryweaponitem ["1Rnd_HE_Grenade_shell",1,"GL_3GL_F"];

generic error in expression

Event Timeline

PhonicGames set Category to Scripting.
PhonicGames set Reproducibility to Always.
PhonicGames set Severity to None.
PhonicGames set Resolution to Open.
PhonicGames set Legacy ID to 1590229222.May 8 2016, 12:54 PM
PhonicGames added a subscriber: PhonicGames.