Quantcast
Channel: Questions in topic: "enemy"
Viewing all articles
Browse latest Browse all 1488

Waypoint System help

$
0
0
Hello, I have my enemy that follows the player around when he gets into a certain range. When there is no target nearby/if he loses/kills the target, he should walk aimlessly around. When he is walking around, he should pick a random nearby waypoint, go to it, then pick another, go to it, and repeat. How would I do this? I have thought to have a bunch of waypoints that each have a list of other waypoints they connect to, but there must be a quicker way. All help is appreciated, Thanks, Thor

Viewing all articles
Browse latest Browse all 1488


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>