Hi,
could you please add some kind of filter to path_scan ???
Currently the path_scan command finds all nodes of every path inside the given range, but many times it's important to be able to scan only for nodes of a certain path.
For example if you have two parallel paths with a short distance to each other and the player is currently walking on path 1. Now I'd like to scan for the nearest node of path 2 to my player. In this case it would be great to use path_scan, but scan only for nodes of path 2.
Maybe you could add some kind of flag that switches the path_scan command to search only for nodes that the entity is currently set to, for example:
path_scan_filter = ON;
path_set(ent, "path_002");
path_scan(ent, pos, dir, sector);
What do you think ???
Best regards,
Pegamode.