Jump to content
avibird 1

Need help setting up a getout waypoint or use a dismount command in a area trigger.

Recommended Posts

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

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

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×