Classes

Concepts

Libraries

Objects

contractor »

conversationAnswerData »

engineStatData »

issueData »

playerPlatformSpecialistData »

projectReviewConclusion »

projectReviewRemark »

randomEventData »

statusIcon »

getPath

Description

Begin the pathfinding process.

Arguments

1 number startX

the starting X tile coordinate.

2 number startY

the starting Y tile coordinate.

3 number targetX

the desired endpoint X tile coordinate.

4 number targetY

the desired endpoint Y tile coordinate.

Returns

1 table

the resulting path under the following circumstances: 1. the pathfinder is not multiframe 2. the pathfinder has succeeded in finding a path. If the pathfinder is multiframe, then you will need to check for success via :hasFinished() and :hasSucceeded() whenever you need to poll the pathfinding result.