Finding the tag value of a waypoint

Hi there, Merry Christmas!

I’ve been spending a lot of it trying to get the path finding working :stuck_out_tongue: (Been doing other exciting things too, im not that boring).

Ive got my units now able to run inside and outside of the buildings, however they need different “Pick Next Waypoint Distance” values so they are more precice when inside. Ive got the outside and inside tag’ed with different values, but just wandering how I can get a unit to get the tag value of its current waypoint?

Cheers
Rob

Something like
int tag = AstarPath.active.GetNearest(transform.position).node.tags; string tagName = AstarPath.active.GetTagNames ()[tag];
Would do.

Worked like a charm! Thanks again for that.

Cheers
Rob