Hi Hellbender,
Ok, if you want a proximity or timer, make a trigger and set it to activate when the bad guys or the player comes close. For proximity you could have a minimum time of say 10 seconds or whatever. then in the activation line you could execute a script with some of the lines below:
Here's a way to create a small bomb at say, a gamelogic called "target1".
BOMB1 = "Bo_GBU12_LGB" createVehicle getpos target1
To create a flare 100 meters in the air, (in this case for my mission at a gamelogic called "tresflare"):
flare1 = "F_40mm_Red" createVehicle [getPos tresflare1 select 0, getPos tresflare1 select 1, 100]
You can change the color of the flare from Red to Green etc. This looks really cool at night in the game!!!! Thanks SharkAttack and Mandoble for teaching me how.