Jump to content

Npc's and jetpacks


Recommended Posts

As there are no error return codes best is to start your marker at a known Z height (9999) and after the call see if its landing Z is lower. If not, fail and move on to another bearing/range couplet. Nasty, messy stuff.

Link to comment
Share on other sites

Might make more sense to do the mundane task of creating new markers and having pre scripted points of using them for each building. Then you can do distance checks from each marker to the player and npc, and the npc to the player to determine if it's a better path. I'd set up corvega and surrounding area as I believe most buildings there have nav meshes already. Just make sure the side of each building has at least 2 special markers.

 

Scripting this will get very messy very quickly.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...