jordanbache97 47 Posted October 7, 2014 Hi guys I am doing a mission where you have to ambush a convoy at a certain time. What can I put in the Init line of the trigger so it activates on an in game time. So if we started the game at 2 o'clock in the morning I would like the hostile convoy to start moving at 2:55. Thanks guys in advance. Share this post Link to post Share on other sites
ProfTournesol 956 Posted October 7, 2014 https://community.bistudio.com/wiki/daytime Share this post Link to post Share on other sites
jandrews 116 Posted October 7, 2014 Hi guysI am doing a mission where you have to ambush a convoy at a certain time. What can I put in the Init line of the trigger so it activates on an in game time. So if we started the game at 2 o'clock in the morning I would like the hostile convoy to start moving at 2:55. Thanks guys in advance. is "countdown" in trigger NOT what you want to use? I usually just place a trigger, sync it to convoy leader waypoint, use countdown once side is present and bam. So, say its 2 am, your group spawns in, make trigger hit once your side is presence in game, use countdown for 55 minutes or 3300 seconds and once countdown is up, min/mod/max all 3300 seconds, once down, convoy moves. sounds way more easy than scripting a trigger. BUT look into createtrigger. You can script that into your init.sqf. more work in my opinion. Share this post Link to post Share on other sites
ProfTournesol 956 Posted October 7, 2014 is "countdown" in trigger NOT what you want to use? I usually just place a trigger, sync it to convoy leader waypoint, use countdown once side is present and bam. So, say its 2 am, your group spawns in, make trigger hit once your side is presence in game, use countdown for 55 minutes or 3300 seconds and once countdown is up, min/mod/max all 3300 seconds, once down, convoy moves. sounds way more easy than scripting a trigger. BUT look into createtrigger. You can script that into your init.sqf. more work in my opinion. So much complication when you can precisely set the hour. Share this post Link to post Share on other sites
jshock 513 Posted October 7, 2014 So much complication when you can precisely set the hour. Yep simple line in the trigger condition: daytime == 2.92 //<< ~.92 hours, gets repeatable .91666666 Share this post Link to post Share on other sites
jandrews 116 Posted October 7, 2014 (edited) Yep simple line in the trigger condition: daytime == 2.92 //<< ~.92 hours, gets repeatable .91666666 Hey Prof.... I know. I wish there was a "reference" for "how to do stuff" for Arma 3 editor. I just learn by doing. BUT that code by JShock would work too. lol :) this is also a really cool thing to know. I will use triggers this way now too. Edited October 7, 2014 by JAndrews1 Share this post Link to post Share on other sites