Page MenuHomeFeedback Tracker

addWeapon "Binocular"/"Rangefinder"/"Laserdesignator" broken after latest update.
Closed, ResolvedPublic

Description

Units that have added Binoculars to their inventory via addWeapon "Binocular" don't receive them.

However when checking the unit against 'hasWeapon "binocular"' it returns true.

Details

Legacy ID
3267808743
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Inventory
Steps To Reproduce
  1. Open Editor.
  2. Place Unit, make sure Debug Console is enabled.
  3. Start mission,open console and check 'player hasWeapon "Binocular"' (should be false)
  4. Open Debug Console and execute 'player addWeapon "Binocular".
  5. open console and check 'player hasWeapon "Binocular"' (should be true)
  6. Open inventory - no binoculars.
Additional Information

The same is true for Rangefinders and Laserdesignators and their corresponding classes.

Event Timeline

wolfenswan edited Additional Information. (Show Details)
wolfenswan set Category to Inventory.
wolfenswan set Reproducibility to Always.
wolfenswan set Severity to None.
wolfenswan set Resolution to Fixed.
wolfenswan set Legacy ID to 3267808743.May 7 2016, 5:00 PM
wolfenswan added a subscriber: wolfenswan.