Is LOS an extension? If so I can't find it to download. If so again then I have been misunderstanding you. :whistle:
Printable View
Is LOS an extension? If so I can't find it to download. If so again then I have been misunderstanding you. :whistle:
LOS == Line Of Sight
;)
I do that already. OK. This is tutorial I used for the AI I have now.
Part 1:
http://www.youtube.com/watch?v=s1P1tH3bvQY&feature=related
Part 2:
http://www.youtube.com/watch?v=h4c0qAhUko8
I thought you said you were shooting many invisible objects?
Watch the tutorial. Yes I am.
Shooting the invisible objects is not what I meant, I meant drawing a line between the enemy and the player to try and see if you can see them. I'll make a quick example...
@OldLongDragon: It was just a simile...but if the extension doesn't do what you want, then why use it?
OK, I made the example. The enemy will chase the player when the enemy sees the player, and the enemy will walk otherwise.
http://mfa.aquadasoft.com/view/1286800910-ChaseWhenSeen
I would use a long sensor attatched to the AI, always pointing to where they are looking. Then when the player walks into the sensor, it triggers a larger sensor always attatched to the player to turn on. When the enemy AI is inside this larger bubble. They will always chase the player down. When they exit that bubble, they would stop and carry on with whatever they were doing.
There are other ways of doing it too.