Using "this addWeapon "NVGoggles" will add the NVGs into the Binocular slot and cause an error when you first open your inventory. The binocs slot then disappears but you can still move them from that slot.
- Legacy ID
- Unable To Duplicate
- Open Editor
- Place Unit
- Add ' removeallweapons this;this addWeapon "NVGoggles" '
The NVGs spawned in by that class name seem to be broken, even spawning them into a box will create broken "NV Goggles" with no picture that can't be equipped. Only way to fix currently is to take existing NVGs off corpses or to spawn with them.
Kid18120's method works for now, confirmed.
There are addGoggles and removeGoggles commands in the script system already, but their descriptions are incomplete and they appear to have no function yet, so my guess is that they're already working on this.
assignItem does work temporarily but the addWeapon still needs to be fixed.
addGoggles and removeGoggles are for the wearable goggles, like sunglasses and stuff. Not Night Vision Goggles, since those go in a different slot than goggles.
Once again Kid, Go hop on the Arma 2 editor and use the addWeapon command for NVGs there. It works. It's not the wrong command. It just adds them to the wrong slot and they need to fix it.
Unable to reproduce in beta. Closing since this ticket is quite old and has not received any attention in a long time.
If this issue is still reproducable for you, please create a new ticket referencing this one.