diff --git a/TASK/AddPatrolRouteLink.md b/TASK/AddPatrolRouteLink.md index 119feacb1..d4aa44f1c 100644 --- a/TASK/AddPatrolRouteLink.md +++ b/TASK/AddPatrolRouteLink.md @@ -8,16 +8,17 @@ ns: TASK void ADD_PATROL_ROUTE_LINK(int id1, int id2); ``` -connects 2 route nodes to make it clear how the ped should move +connects/links 2 [route nodes](#_0x8EDF950167586B7C) +image representing the cyclic example below: +![image](https://user-images.githubusercontent.com/55803068/188470866-c32c6a9f-a25d-4772-9b18-5be46e2c14a1.png) ## Parameters -* **id1**: -* **id2**: +* **id1**: the id representing the first route node +* **id2**: the id representing the second route node ## Examples -![image](https://user-images.githubusercontent.com/55803068/188470866-c32c6a9f-a25d-4772-9b18-5be46e2c14a1.png) -``` lua +```lua -- these lines connect 1,2,3,4,5,6 in a cyclic manner (1 > 2 > 3 > 4 > 5 > 6 > 1)