Jump to content

Haydenmango

Members
  • Posts

    434
  • Joined

  • Last visited

Everything posted by Haydenmango

  1. Hi Rick! Thanks for the quick response. Well I made the a sphere that moves to the pick location and it always appears right on the picking entity. I think Hiding the Picking Entity and raising the Pick Height should solve the problem because it seems the picking entity (or the ground right in front of the picking entity) is blocking the pick from reaching its target currently. I am going to go see if this works in a little while, thanks again!
  2. Hello leadwerks community! I have been trying to find a good way to add Line of Sight to ranged enemies. At the moment I can get them to attack from a decent range by taking the MonsterAI.lua script from the tutorials and changing the attack range to a higher number. Now I run into the issue of the enemies being able to attack me when I am behind objects like walls/trees/etc. So I have attempted using the Pick() function but I just can't seem to figure it out. Can anybody out there point me in the right direction or give me some ideas for how to do this? Any help would be much appreciated.
×
×
  • Create New...