Page MenuHomeFeedback Tracker

Can't let unit unassign NVGoggles anymore
Closed, ResolvedPublic

Description

The script-command >Unit unassignitem "NVGoggles"< doesn't seem to work.

Maybe the item "NVGoggles" was renamed since version 0.77?

Details

Legacy ID
4225729964
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Enemy unit on map in mission-editor, place command >this unassignitem "NVGoggles"; this removeitem "NVGoggles"< into its init-field. I also tried the command >this unassignitem "NVGoggles"; removegoggles this<. The unit still wears the NVGoggles.

Additional Information

I started the game 3 times new, including restart of the whole System. The problem still exists.

Event Timeline

feuerwerker edited Additional Information. (Show Details)
feuerwerker set Category to Scripting.
feuerwerker set Reproducibility to Always.
feuerwerker set Severity to None.
feuerwerker set Resolution to No Bug.
feuerwerker set Legacy ID to 4225729964.May 7 2016, 4:08 PM

There are faction specific NVGoggles now.

Check the config viewer in the editor to find them, I forgot what the classnames were.

Edit: Opfor should be named "NVGoggles_OPFOR"

I can remove goggles completely with

player unassignItem "nvgoggles";
player removeItem "nvgoggles";

in the latest build

New classnames are:
NVGoggles
NVGoggles_OPFOR
NVGoggles_INDEP

Closing as not a bug.