Jump to content
Sign in to follow this  
Junker

Random mortar fire

Recommended Posts

I have the upmortar addon but the AI wont fire at anything  :S

What i am trying to do is make a script to make the AI fire and then randomly change its turret elevation between 10 > 75 degrees(Maybe a slight direction change to 1-2 degrees left or right).

So if anyone could help me would be great  :P

I hope this is some help too.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

     weapon name "wmortar"

     gunAxis "osahlavne"

     turretAxis "osaveze"

     minElev -15

     maxElev +90

     minTurn -70

     maxTurn 70

Share this post


Link to post
Share on other sites

Dunno but you could try the CoC unified arty, just set it up for ai and where to fire.

Share this post


Link to post
Share on other sites

cant do that cus our server dont have CoCarty addons on it.

I know it can be done i did it with this addon months ago but i have been off OFP for 3-4 months and lost all knowledge of that type of scripting :S maybe i just need a kick start or something :P

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
Sign in to follow this  

×