TBM2_API_Reference > TBM_GPSWidget > Calculate Goal Path

Calculate Goal Path

Calculates the GPS path points to be draw on the minimap. Should be overriden for desired behavior.

Inputs

Target
TBM GPSWidget Object Reference

Start
Vector

the starting location of the path (eg. player location)

End
Vector

the target location

Outputs

Out 2DPath
Array of Vector 2D Structures

the calculated path as an array of points to be displayed on the minimap widget

Return Value
Boolean

true if a valid path was calculated