Thank you very much!
I have RESOLVE my script by using the following :
_bombs setpos [(getpos _target select 0)+(
random _radius+random - _radius),(getpos _target select 1)+(
random _radius+random - _radius),_height]
And i found that the bomb goes off on any point around the target within the specified _radius
BUT...
can you please explain me these things ?
_bombs setpos [(getpos _target select 0)+((random _radius/random 10)*sin(_dir)),(getpos _target select 1)+((random _radius/random 10)*sin(_dir)),_height]
_dir = _dir + 25 + random 40
?(_dir<360): goto "posloop"
Also, i found that the bombs' firing points are static even when the bomb is created in the air [the bomb is exploding with flame in the air 5 meters from ground!]
Are these bombs don't have GRAVITY???
I have used "bomb" as the bombtype.Also, when the artillery is on a town, the bombs may goes off inside a building.....but IS THERE some METHOD to make so that the BOMB will explode on ROOF tops,
I found the bombs exploding inside buildings is very bad when i saw a bomb explodes under the bridge i was supposed to be hiding from the artillery.....
How can i make so that the bomb will explode on the road of the bridge and not the ground beneath the bridge?
Thanks to all of you....
Haroon1992..........................