tmp95 16 Posted September 18, 2014 If I want to take away NVGs for Opfor units I place in the editor. How do I do this?? What code would need to be placed in the INIT of a given unit (and for their group)? Thank you! Share this post Link to post Share on other sites
doc_no1UK 10 Posted September 18, 2014 Well for a single opfor put this in the init this unassignItem "NVGoggles_OPFOR"; this removeItem "NVGoggles_OPFOR"; Share this post Link to post Share on other sites
Jona33 51 Posted September 18, 2014 For a group you can place {_x unassignItem "NVGoggles_OPFOR"; _x removeItem "NVGoggles_OPFOR"} forEach units group this; in the init of the team leader which keeps things simpler, or you can apply it to a grander scale on any OPFOR units. Share this post Link to post Share on other sites
tmp95 16 Posted September 18, 2014 Thank you @ Jona33! Works great! Now trying to figure out what term Middle East Conflict mod uses for NVGs. As this code works great on base Opfor....but does not takeway NVGs from Opfor in MEC mod. Share this post Link to post Share on other sites