nadsv 10 Posted March 10, 2017 Hi, ive been searching for about two hours but I can't seem to understand how to do it. I am trying to activate some module only after some time when the mission has begun. I know that the Sleep function doen't work in the editior. So what I did is put a trigger to execute an sqf file but I cant write it correctly. If someone would be kind enough to help me; i have three module that I want to put to "sleep" for 120 second named "module1" "module2" "module3". Thanks!! Share this post Link to post Share on other sites
serena 151 Posted March 10, 2017 Using trigger: // in trigger activation condition time > TIME_SINCE_GAME_BEGIN_IN_SECONDS Using script: [] spawn { sleep TIME_INTERVAL_IN_SECONDS; // do what you want here }; https://community.bistudio.com/wiki/time https://community.bistudio.com/wiki/sleep Share this post Link to post Share on other sites
R3vo 2654 Posted March 10, 2017 Just place a trigger with the condition set to "true" without quotations. Set the countdown to 120 120 120. The trigger will then fire 120seconds after mission start. Last but not least, sync the modules you want to activate to the trigger. Share this post Link to post Share on other sites