Jump to content

Recommended Posts

I can put down an AI mortar a trigger and a target (invisible helipad) and get the mortar to fire a chosen number of rounds at a random distance and time around the target but the spread of the rounds doesn't get to be very wide so was wondering is there a way to designate a large area as the target?

Share this post


Link to post
Share on other sites

Just use something like:

_tooPrecisePosition getPos [_distanceMin + random _addedDistance, random 360];

 

here:

_tooPrecisePosition is the position of your target, 

_distanceMin is a "safety distance, no saying a shell will not fall nearer,

_addedDistance is the complementary figure to reach the max distance you want, not saying a shell can't fall farer.

Share this post


Link to post
Share on other sites

Thank you pierremgi. I'll do that.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×