The dropWeapon action does nothing except playing an animation when trying to make an AI unit drop his weapon to the ground, and crashes the game when trying to put the weapon in an ammobox. {F20744}
Description
Description
Details
Details
- Legacy ID
- 1347844998
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
See mission attachment below, or try by hand:
Give a unit a weapon and a name:
removeAllWeapons this; this addWeapon "SMG_01_F";
Make him drop his weapon:
unitname action ["DropWeapon", unitname, "SMG_01_F"];
Make him drop his weapon in an ammobox to crash the game:
unitname action ["DropWeapon", ammoboxname, "SMG_01_F"];
Event Timeline
Comment Actions
Mass closing ancient tickets with no activity for > 12 months; assume fixed or too trivial.
If this issue is still relevant in current dev build, please re-post.