Page MenuHomeFeedback Tracker

Independent remove NVGoogles on Startup
Closed, ResolvedPublic

Description

When I try to remove the NVGoggles from Independent units based off of
"this unassignItem "NVGoggles"; this removeItem "NVGoggles";"
It does not work, however it will work when I try it with any other side based unit.

Details

Legacy ID
325147
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
Inventory
Steps To Reproduce

1.Place an Independent unit onto the map. Ex. Independent>AAF>Rifleman
2.In the initialization field, put in
this unassignItem "NVGoggles"; this removeItem "NVGoggles";

  1. Place any unit from any other side or faction that spawns with NVGoggles
  2. Put the same code in from before into the new unit's initialization field.
  3. Preview the map and notice that while the other unit who normally has NVGoogles no longer has them, the Independent unit still has his.
Additional Information

I haven't tried this with civ units, but with Opfor and Blufor units, their NVGoogles can be removed from initialization.

Event Timeline

Pacchelli edited Additional Information. (Show Details)
Pacchelli set Category to Inventory.
Pacchelli set Reproducibility to Always.
Pacchelli set Severity to None.
Pacchelli set Resolution to No Bug.
Pacchelli set Legacy ID to 325147.May 7 2016, 4:45 PM
Bricks added a subscriber: Bricks.May 7 2016, 4:45 PM

Independent and Opfor now have their own NVGoggles. Opfor uses "NVGoggles_OPFOR" and ind use "NVGoggles_INDEP". Blufor still uses "NVGoggles". The only noticeable difference is the side parts of the blufor NVGs are (still) tan, opfor are black and independent are green.

You will have to use
this unassignItem "NVGoggles_INDEP"; this removeItem "NVGoggles_INDEP";

Ah, thank you my friend, I did not know there was a difference.

MadDogX added a subscriber: MadDogX.May 7 2016, 4:45 PM

Closing as no bug.