#Loop
flare = "F_40mm_white" createVehicle [(getPos objName select 0), (getPos objName select 1), 110];
~20 + (Random 100)
? (any condition is true) : exit
goto "Loop";
-------------------------------------------------------------------------
objName is the location drop it you want.
And problem was this. fill this code to Trigger.
[] exec "flare.sqs";