Flasher Posted July 27, 2023 Share Posted July 27, 2023 Why the trigger " Unit outside moving zone " works locally on SP or MP, but does not work on dedicated server ? Link to comment Share on other sites More sharing options...
Flappie Posted July 28, 2023 Share Posted July 28, 2023 Please attach a mission example. Don't accept indie game testing requests from friends in Discord. Ever. Link to comment Share on other sites More sharing options...
Flasher Posted July 28, 2023 Author Share Posted July 28, 2023 (edited) Here is an example : working SP/MP localy, but not MP dedicated server ... test.miz Edited July 28, 2023 by Flasher Link to comment Share on other sites More sharing options...
Flappie Posted July 28, 2023 Share Posted July 28, 2023 (edited) Thank you. It is working as it should. On a dedicated server, the mission starts before you join in. This means the conditions for your trigger are met: your aircraft is not in the moving zone, since you have not spawned yet. Hence the message and the sound are triggered at the very beginning of the mission. Two solutions: Either you change "once" to "switched condition" so the trigger activates everytime the conditions are met. Or, if you want the trigger to work only once, first check the presence of the unit inside the zone before checking it is out of the zone. Something like: "Once" : If unit "A" is in the zone, then Flag spawned=true "Once" : If spawned=true and unit "A" outside moving zone, then message + sound. Here's a fix using solution 1. UnitOutsideMovingZone_fix.miz Edited July 28, 2023 by Flappie 1 Don't accept indie game testing requests from friends in Discord. Ever. Link to comment Share on other sites More sharing options...
Recommended Posts