Here ya go
just download this map and merge it with the one you want, place the invisible "H" where u want him to fire the flares --thats all. done.
Be sure to copy and paste the flare.sqs into your new map mission folder.
The AI will fire a flare at the H randomly between 5 and 10 mins apart --the flares will be a random colour.