mostly 4 Posted October 4, 2010 I've got a squad of 4 men all with M4A1's that have the lasers fitted to the front. How do I start the mission with all the lasers enabled without having to issue it as an order? How do I start the mission with the player's NV goggles on? Share this post Link to post Share on other sites
Andy455 11 Posted October 4, 2010 unit action ["NVGoggles", unit]; unit action ["IRLaserOn", unit]; Untested but I think it will work :) Share this post Link to post Share on other sites
kylania 564 Posted October 4, 2010 Those commands only work for human players. For AI you need to make it night and set them to Danger for both to be on. Share this post Link to post Share on other sites
mostly 4 Posted October 4, 2010 Still can't get it to work. Setting them to danger at night does nothing for me, and like Kylania says those commands only work for human players. Share this post Link to post Share on other sites
kylania 564 Posted October 4, 2010 You also need to set enableIRLasers as well. :) Share this post Link to post Share on other sites
mostly 4 Posted October 5, 2010 Thanks Kylania. That works now, all the AI start with lasers on! Cool. Thanks Andy 455, the NVgoggles action works but the "IRLaseron" action doesn't work for my player, any ideas? Share this post Link to post Share on other sites
celery 8 Posted January 31, 2011 I'm having trouble automatically activating lasers for players. "IRLaserOn" doesn't seem to work, anyone know how it's done? Share this post Link to post Share on other sites
Doodle 10 Posted January 31, 2011 You could try something with these this EnableIRLasers true; (in a squad members init) group this EnableIRLasers true; (in a squad leaders init) and then maybe this setBehaviour aware; and/or this setCombatMode "red"; I am no expert though...and there is probably a better way of doing it but it works for me Share this post Link to post Share on other sites
celery 8 Posted January 31, 2011 enableIRLasers works only for AI as it indirectly orders them to activate them much like doStop and others. Share this post Link to post Share on other sites