maverickzer0 18 Posted August 22, 2016 A simple question with a probably simple answer. I'm using the Task Module system in the Eden editor and i was wondering how i would go about creating a pause or gap between the first objective completing and the second objective going active, at the moment as soon as the trigger is fired, the second task is created before the first one appears as complete. In the editor i have the trigger synced to a 'Set Task State' module which sets the first task as succeeded, the same trigger is also synced to a 'Create Task' module which is assigned at the same time. Probably not the most efficient way of going about it, so how would i set it up so Task 1 is complete, a couple of seconds pause, then task two appearing? Share this post Link to post Share on other sites
zagor64bz 1225 Posted August 22, 2016 IDK if it's the most efficient way to do so, but I can tell you the way I'm doing it: instead of synk the "new" task module to the trigger that complete the "old" task module, I use a new trigger with this in CONDITION: triggerActivated name_of_the_trigger; where "name_of_the_trigger is the name of the trigger that fire when you succeeded the "old" task. Put a 3 or 4 sec delay in the new trigger and you are done. As I said, I'm sure there's more efficient way to do that..but hey....that's the way I come up with :D 1 Share this post Link to post Share on other sites
Mynock 244 Posted August 22, 2016 Zagor's way is a very simple way to do it within the editor. Alternatively, if you don't want to assign a variable name to your triggers for whatever reason, you can also have the first trigger create a variable that is set to true, and then have a second trigger check for that variable and then delay the next task from assigning. An example: The trigger that completes the first task has a line in the On Act field that states task1done = true;and in the second trigger, which is set to delay via the min/max fields, the condition would be simply task1done;It's essentially accomplishing the same thing Zagor described, just in a slightly different way because not everyone likes to assign names to their triggers. 1 Share this post Link to post Share on other sites
zagor64bz 1225 Posted August 22, 2016 Zagor's way is a very simple way to do it within the editor. Alternatively, if you don't want to assign a variable name to your triggers for whatever reason, you can also have the first trigger create a variable that is set to true, and then have a second trigger check for that variable and then delay the next task from assigning. An example: The trigger that completes the first task has a line in the On Act field that states task1done = true;and in the second trigger, which is set to delay via the min/max fields, the condition would be simply task1done;It's essentially accomplishing the same thing Zagor described, just in a slightly different way because not everyone likes to assign names to their triggers. Damn, I learned something new!!! Thank you Mynock. Share this post Link to post Share on other sites
maverickzer0 18 Posted August 22, 2016 Zagor's way is a very simple way to do it within the editor. Alternatively, if you don't want to assign a variable name to your triggers for whatever reason, you can also have the first trigger create a variable that is set to true, and then have a second trigger check for that variable and then delay the next task from assigning. An example: The trigger that completes the first task has a line in the On Act field that states task1done = true;and in the second trigger, which is set to delay via the min/max fields, the condition would be simply task1done;It's essentially accomplishing the same thing Zagor described, just in a slightly different way because not everyone likes to assign names to their triggers. IDK if it's the most efficient way to do so, but I can tell you the way I'm doing it: instead of synk the "new" task module to the trigger that complete the "old" task module, I use a new trigger with this in CONDITION: triggerActivated name_of_the_trigger; where "name_of_the_trigger is the name of the trigger that fire when you succeeded the "old" task. Put a 3 or 4 sec delay in the new trigger and you are done. As I said, I'm sure there's more efficient way to do that..but hey....that's the way I come up with :D Thanks. I used the second way and it works perfectly as intended. :D 1 Share this post Link to post Share on other sites
zagor64bz 1225 Posted August 22, 2016 Thanks. I used the second way and it works perfectly as intended. :D Forgot to tell you that that I use the "triggerActivated" command not just for task, but for instance to make one trigger active only after another trigger as been fired..... ;) Share this post Link to post Share on other sites
R3vo 2654 Posted August 23, 2016 IDK if it's the most efficient way to do so, but I can tell you the way I'm doing it: instead of synk the "new" task module to the trigger that complete the "old" task module, I use a new trigger with this in CONDITION: triggerActivated name_of_the_trigger; where "name_of_the_trigger is the name of the trigger that fire when you succeeded the "old" task. Put a 3 or 4 sec delay in the new trigger and you are done. As I said, I'm sure there's more efficient way to do that..but hey....that's the way I come up with :D You are not alone with that method. Works best for me. 1 Share this post Link to post Share on other sites
Jnr4817 215 Posted September 9, 2016 I'm still learning the trigger modules. Could anyone make a sample mission on Tanoa with about 5-6 task with this occurring using the triggerActivated name_of_the_trigger; Thanks in advanced. Share this post Link to post Share on other sites
avengerarts 15 Posted March 19, 2017 @zagor64bz DUDE! I LOVE YOU!!! 1 Share this post Link to post Share on other sites
avengerarts 15 Posted March 19, 2017 On 22/08/2016 at 10:15 PM, zagor64bz said: Forgot to tell you that that I use the "triggerActivated" command not just for task, but for instance to make one trigger active only after another trigger as been fired..... ;) YOU MADE ME HAPPY! Share this post Link to post Share on other sites
zagor64bz 1225 Posted March 19, 2017 4 hours ago, avengerarts said: @zagor64bz DUDE! I LOVE YOU!!! 4 hours ago, avengerarts said: YOU MADE ME HAPPY! Glad to be of any help bud!!! 1 Share this post Link to post Share on other sites
Grumpy Old Man 3545 Posted March 19, 2017 Why not use the countdown inside the trigger? Cheers 1 Share this post Link to post Share on other sites