Update GRP-500 - Ground TaskRoute.lua

updated
This commit is contained in:
Applevangelist
2021-10-02 13:50:09 +02:00
committed by GitHub
parent 9a4a29f3f2
commit e610e0e642
@@ -11,8 +11,8 @@ ToCoord = FromCoord:Translate( 1000, 180 )
RoutePoints = {} RoutePoints = {}
-- Create a "grount route point", which is a "point" structure that can be given as a parameter to a Task -- Create a "grount route point", which is a "point" structure that can be given as a parameter to a Task
RoutePoints[#RoutePoints+1] = FromCoord:RoutePointGround( 0 ) RoutePoints[#RoutePoints+1] = FromCoord:WaypointGround()
RoutePoints[#RoutePoints+1] = ToCoord:RoutePointGround( 60, "Cone" ) RoutePoints[#RoutePoints+1] = ToCoord:WaypointGround(30,"Cone")
-- Create a combo task, that creates a route task to the RoutePoint -- Create a combo task, that creates a route task to the RoutePoint
RouteTask = GroundGroup:TaskRoute( RoutePoints ) RouteTask = GroundGroup:TaskRoute( RoutePoints )