another simple question :
I have downloaded several artillery scripts ,found one that is very suitable for my mission but......it keeps going on forever.I'm sure with certain line the script can be stopped but how ?
_Centre = _this select 0
_area = _this select 1
_shells = _this select 2
_CentrePos = GetMarkerPos _Centre
_xco = _CentrePos select 0
_yco = _CentrePos select 1
_zco = _CentrePos select 2
_areaX2 = _area * 2
~2
titletext ["\n\n\n\n\n\n\n Run for cover !!!","plain", 2]
~2
_a = _shells
#start
_bomb1 = "Shell125" camCreate [_xco + Random(_areaX2) - _area,_yco + Random(_areaX2) - _area,_zco + 150]
~1
_bomb2 = "Shell125" camCreate [_xco + Random(_areaX2) - _area,_yco + Random(_areaX2) - _area,_zco + 150]
_bomb3= "Shell125" camCreate [_xco + Random(_areaX2) - _area,_yco + Random(_areaX2) - _area,_zco + 150]
_bomb4 = "Shell125" camCreate [_xco + Random(_areaX2) - _area,_yco + Random(_areaX2) - _area,_zco + 150]
_bomb5= "Shell125" camCreate [_xco + Random(_areaX2) - _area,_yco + Random(_areaX2) - _area,_zco + 150]
_bomb6 = "Shell125" camCreate [_xco + Random(_areaX2) - _area,_yco + Random(_areaX2) - _area,_zco + 150]
_bomb7= "Shell125" camCreate [_xco + Random(_areaX2) - _area,_yco + Random(_areaX2) - _area,_zco + 150]
_bomb8 = "Shell125" camCreate [_xco + Random(_areaX2) - _area,_yco + Random(_areaX2) - _area,_zco + 150]
_bomb9 = "Shell125" camCreate [_xco + Random(_areaX2) - _area,_yco + Random(_areaX2) - _area,_zco + 150]
_bomb10 = "Shell125" camCreate [_xco + Random(_areaX2) - _area,_yco + Random(_areaX2) - _area,_zco + 150]
_a= _shells - 1
?(_a > 0) : goto "start"
Exit
your help will be very much appreciated