gatordev 216 Posted September 14, 2013 I know the answer is out there, but I can't figure out the right Google search to give me the correct command... I'm trying to make a trigger where if the sun is in a certain position (or even if it's a specific time of day), then an AI unit within a trigger field who is already equipped with NVGoggles would then have them "assigned." I'm trying to avoid having a bunch of units walking around with their NVGs on their helmets, but flipped up during the day. Instead, they have them in their kits, but not assigned. I'm thinking it would be something like: ACTIVATION: sun is low/time of day is x {assignitem "NVGoggles" _x;} forEach units group this Am I on the right track? What's the best way to detect time of day/sun position? Appreciate any help. Share this post Link to post Share on other sites
cobra4v320 27 Posted September 14, 2013 (edited) condition: dayTime < 4 && dayTime > 20 on act: {_x assignitem "NVGoggles"} forEach units group this Edited September 14, 2013 by cobra4v320 Share this post Link to post Share on other sites
das attorney 857 Posted September 14, 2013 http://community.bistudio.com/wiki/sunOrMoon Sun is up = 1 Moon is up = 0 Everything inbetween is the sun going down. Share this post Link to post Share on other sites
gatordev 216 Posted September 15, 2013 Thanks a bunch to both of you. For some reason, Googling "Sun" and "Arma" didn't yield the sunOrMoon command. I knew there was something there. I'll mess with it tonight. Share this post Link to post Share on other sites