Jump to content

Recommended Posts

Hey.
How to get attack direction between 120-240 degree angles and get AI attack from those directions and possibly in between

I have mostly used the 360 degree method.

 

Share this post


Link to post
Share on other sites

I want the AI to attack from randomly 120-240 directions, but not from 0-119 and 241-359 directions (compass)

 

sometime long ago, someone made a similar script, but it's been a long time and I don't remember where it was, it might have been on Armaholic's website

Share this post


Link to post
Share on other sites

So, you don't spawn enemies in edited areas (so you could adjust the spawn position), but you want to spawn in angle sector from... unique player? and then, not depending on a player's direction?

As you can see, we need extra precisions about center(s) (moving or not), relative or absolute directions (if center is a player)...

Share this post


Link to post
Share on other sites

Place markers on the map so they spawn on the markers. Place the markers so they spawn at random on one of the markers.

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

×