JesterOC 10 Posted May 12, 2015 I am trying to trigger a forceEnd in a multiplayer mission and it is just ignoring me. I started with code I found online that checks if all players are dead and if so, end the mission with a forceEnd. If not for the trigger the players will respawn after the delay (respawn="INSTANT"; respawnDelay = 20;) so I tried this code Trigger Zero axis sizes Set trigger type to End #1 Condition: allPlayersAreDead = true; if( !isNull p1 && alive p1 ) then { allPlayersAreDead= false}; if( !isNull p2 && alive p2 ) then { allPlayersAreDead= false}; allPlayersAreDead; OnAct: forceEnd That did not work so I went simpler expecting it to start and then end the mission immediately. Trigger Zero axis sizes Set trigger to End #1 Condition: allPlayersAreDead = true; allPlayersAreDead OnAct: forceEnd Still no worky Then I just tried Trigger Zero axis sizes Set trigger to End #1 Condition: true OnAct: forceEnd Nothing. Any suggestions? Everything I found on this forum says this should work. THough one person said they had this issue and fixed it by reinstalling the game. I did not try that yet. :( Share this post Link to post Share on other sites
bangabob 45 Posted May 12, 2015 Try this instead of forceend endMission "END1"; Share this post Link to post Share on other sites
JesterOC 10 Posted May 13, 2015 I figured it out. It I never read that you can only have 1 Trigger for each end type. I already had an End1 trigger, so when I changed it to End2, it all works now. Thanks BangaBob for your help. Share this post Link to post Share on other sites