Jump to content

canReach from position other than player.


Hel

Recommended Posts

52 minutes ago, Slut said:

I've fiddled for a little bit and can't seem to figure out if it's possible, but I'm trying to check if I can reach a tile from a position that isn't my own. map.canReach seems to only be able to use the player's current position.

Your Sig just made me laugh, then question what the fuck education is....

  • Boge 1
Link to comment
Share on other sites

6 hours ago, Slut said:

I've fiddled for a little bit and can't seem to figure out if it's possible, but I'm trying to check if I can reach a tile from a position that isn't my own. map.canReach seems to only be able to use the player's current position.

just make your own with LocalRouteFinder

 

if path != null return true : false;

  • Like 2
Link to comment
Share on other sites

6 minutes ago, Slut said:

bump, localPathFinder only works within a certain area, kind've need a method that works over larger distances.

You'll have to make your own web pathfinder for that :boge:

EDIT: Or make a client suggestion for access to the webwalkers underlying pathfinder

Edited by FrostBug
Link to comment
Share on other sites

9 hours ago, Slut said:

bump, localPathFinder only works within a certain area, kind've need a method that works over larger distances.

Tile flags are only available when a region is loaded, these are needed to decide whether or not something is reachable. You could dump the tile flags to work out if something is reachable over a larger area.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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