Enemy Movement
GingerBGames
Member Posts: 390
Hello GSer's,
I have a Goon in my game, and I want him to move in a square pattern. Each time he get's to a corner, he repositions himself to look in the direction of my Hero (so either looking to the left or to the right, no angles), and then shoots his gun. After a few seconds, he move to the next corner and does the same things, he'll do this until he is killed or my hero is killed. Does anyone have a template, or that can just help me out with accomplishing such a task?
Thank you.
I have a Goon in my game, and I want him to move in a square pattern. Each time he get's to a corner, he repositions himself to look in the direction of my Hero (so either looking to the left or to the right, no angles), and then shoots his gun. After a few seconds, he move to the next corner and does the same things, he'll do this until he is killed or my hero is killed. Does anyone have a template, or that can just help me out with accomplishing such a task?
Thank you.