Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: RAY-O STUDIOS on Mon 14/05/2007 08:56:01

Title: 1213 ai script
Post by: RAY-O STUDIOS on Mon 14/05/2007 08:56:01
how do yahtzee makes tha 1213 ai (shoot-dead effect on guards and the following AI on bosses)?
Title: Re: 1213 ai script
Post by: Khris on Mon 14/05/2007 09:48:03
Simply put, he uses the x and y coordinates of the characters and the player.
E.g. the guards start shooting you as soon as you get to their level (guard.y == player.y).