Jump to content
7Cav Whitsel

Making AI mortar copy direction/elevation/firing of player mortar

Recommended Posts

So I'm working on a scenario that would include a mortar or artillery battery of 4 guns. I want one to be player controlled and the other 3 to be AI controlled and to mimic the player artillery's rotation, elevation, and firing. I've attempted to use weaponDirection, but I cannot get the elevation of the weapon from this. I also cannot seem to set the elevation on the other artillery pieces. Any recommendations on where to look?

Share this post


Link to post
Share on other sites

I would not try to copy those values but to give the AI the same target or target position. But it depends on how the player is selecting the target..

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

×