Jump to content
Sign in to follow this  
sambee99

NVG help!!!

Recommended Posts

hey guys i used this script in a mission to remove the nvg's and make them use flashlights instead

this addPrimaryWeaponItem "acc_flashlight";

this unassignItem "NVGoggles";

this removeItem "NVGoggles";

this enablegunlights "forceOn"

buuuut one small problem,, the remove nvg part isnt working anymore, they still have nvg's :(

has the class name changed? if so what is it? :(

Share this post


Link to post
Share on other sites

The class name has changed IIRC, its now something like "b_nvgoggles" i can't check it right now and SIX config browser isn't updated yet.

You could check by using the same unit you're trying to take the nvg off and on the debug console put on a watch "items player" then it will give you an array with all items you have, find something like nvgoggles and thats what you should unassign and remove.

Share this post


Link to post
Share on other sites

it only gives me first aid kit when i type in "items player" in the watch menu?

Share this post


Link to post
Share on other sites

If I remove NVG's from my unit, I can still use the night vision :/. It just doesn't have the black borders around the middle.

E: Wow, I just removed BINOCULARS from my unit and now I cannot use night vision, definitely a bug.

E2: But I can still keep using night vision if I drop binoculars first? :confused:

Edited by MrLate

Share this post


Link to post
Share on other sites

You can use the new command unlinkItem to remove and unassign NVGs in one command. Still get the "residual full screen NVG" though.

player unlinkItem "NVGoggles";

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×