Vasily.B 529 Posted July 25, 2016 Hi, i'm making mission which i wanna end after repeling attack of Greenfor and Blufor.Is there any other metod to do this than creating 2 triggers (Blufor - unpresent, Greenfor Unpresent)? I dont want to mission end after killing only one faction. How to sync that? Share this post Link to post Share on other sites
gstoetti94 4 Posted July 25, 2016 Create two triggers - "trgBlu" and "trgGreen".​Both should be activated if the faction is not present. Create a third trigger "trgEnd" and open its Attributes. Delete "this" from t​he field "conditions" and insert the following text triggerActivated trgBlu AND triggerActivated trgGreen​ This trigger trgEnd will be activated only if both other triggers are activated For more Infos have a look at https://community.bistudio.com/wiki/triggerActivated https://community.bistudio.com/wiki/createTrigger https://community.bistudio.com/wiki?title=2D_Editor:_Triggers&redirect=no Share this post Link to post Share on other sites
Vasily.B 529 Posted July 25, 2016 Create two triggers - "trgBlu" and "trgGreen". ​Both should be activated if the faction is not present. Create a third trigger "trgEnd" and open its Attributes. Delete "this" from t​he field "conditions" and insert the following text triggerActivated trgBlu AND triggerActivated trgGreen​ This trigger trgEnd will be activated only if both other triggers are activated For more Infos have a look at https://community.bistudio.com/wiki/triggerActivated https://community.bistudio.com/wiki/createTrigger https://community.bistudio.com/wiki?title=2D_Editor:_Triggers&redirect=no Thanks man, really appreciate! Share this post Link to post Share on other sites
chacne 17 Posted July 26, 2016 Might be an idea to put a timer of 10-30 seconds on that so it doesn't end the very second you kill the last enemy ! :) Share this post Link to post Share on other sites
Vasily.B 529 Posted July 26, 2016 Might be an idea to put a timer of 10-30 seconds on that so it doesn't end the very second you kill the last enemy ! :) But if you dont make it before timer is out? Or player will kill everyone, he still need to wait. I'd rather gstoetti94 advice on that ;) Share this post Link to post Share on other sites
gstoetti94 4 Posted July 26, 2016 I think, chacne meant that the third trigger, trgEnd, should "wait", before it is activated.​So as soon as trgBlu and trgGreen are activated, trgEnd idles for 10-30 sec before it is activated and the mission ends.​You can change these settings in the menu of either the triggers - just enter the SECONDS that needs to pass in the fields "min" - "mid" - "max" 2 Share this post Link to post Share on other sites
chacne 17 Posted July 26, 2016 But if you dont make it before timer is out? Or player will kill everyone, he still need to wait. I'd rather gstoetti94 advice on that ;) I think, chacne meant that the third trigger, trgEnd, should "wait", before it is activated.​So as soon as trgBlu and trgGreen are activated, trgEnd idles for 10-30 sec before it is activated and the mission ends.​You can change these settings in the menu of either the triggers - just enter the SECONDS that needs to pass in the fields "min" - "mid" - "max"I did indeed mean that, thank you for clarifying gstoetti94 :)Otherwise your mission will end abruptly, just have a slight delay on that third end mission trigger ðŸ‘🼠1 Share this post Link to post Share on other sites
Vasily.B 529 Posted July 26, 2016 I did indeed mean that, thank you for clarifying gstoetti94 :)Otherwise your mission will end abruptly, just have a slight delay on that third end mission trigger OK, will do. Share this post Link to post Share on other sites