Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - pilen

#1
Hi.
Me and my two classmates are learning basic scripting using AGS. Our game is pretty simple and we're adding stuff as we go. Here's some footage:
http://www.youtube.com/watch?v=3hZZHr7GFHU

My question is:
we have an area outside the prison cells (like the courtyard) where we want guards to patrol. I want to give these guards a field of view. When we attempted this we used an object that takes the coordinates from the character and follows it. It's pretty much enough but it only works with eNoBlock. And therefor it's useless.

Any help appreciated. (I did find a complicated thread about this where walls affect the fov but I'm just interested in a few easy lines of code:) )

*UPDATE* we set a timer that updated the objects location and then it worked. Any better solutions for this is much appreciated!
SMF spam blocked by CleanTalk