I have a problem that is sure to be simple to correct.
How do i get a unit to hold it's fire until an enemy unit enters a trigger, and then go back to holding its fire once the enemy unit left?
I tried setting up a trigger around the unit I want to hold it's fire and set it to Act:West Present Repeat. I tried synch it with a waypoint of the friendly unit and tried to synch it to the unit directly. In the Act field of the trigger, i put sam1 setcombatmode "red, then I put in the deact sam1 setcombatmode "blue". This doesnt seem to work. Everytime the enemy helo spawns in during test, which is outside the trigger, the friendly unit on the ground fires anyways. Any thoughts?