avibird 1 143 Posted July 7, 2023 I can't figure out how to setup a area trigger to make mortar units to get out if a bluefor unit is in the area using a getout waypoint or dismount command. I have a enemy FOB with motor units surrounded by sandbags stacked 3 high. Once all the other enemy units are eliminated in The Base killing the motor units are like shooting fish in a barrel because they don't dismount and engage. Share this post Link to post Share on other sites
avibird 1 143 Posted July 8, 2023 I figured out a working code that will allow the mortar units to getout of the mortar if any bluefor units are in the area once bluefor is eliminated from the area the mortar units if still alive will get back into the mortar and continue to engage units are in its range to fire rounds. coode is very simple doGetOut [M1,M2,M3]; Setup for the trigger is trigger transformation the size of the area you want trigger activation type none activation blufor activation type Present Repeatable CONDITION call (this) On Activation doGetOut [M1,M2,M3]; If anyone else needs this Avibird Share this post Link to post Share on other sites
avibird 1 143 Posted July 8, 2023 If you want the mortar units to getout and never get back in use this M1 leaveVehicle MG1; M2 leaveVehicle MG2; M3 leaveVehicle MG3 Share this post Link to post Share on other sites
avibird 1 143 Posted July 8, 2023 After testing playing for awhile using the doGetOut command the mortar units will get out if blufor present but will get back in after a few seconds only. Need to find a better way to get them back in when only blufor is not present. Share this post Link to post Share on other sites