Scripting - Pathfinding
Here can find some information about Enhanced Scripting function about Pathfinding !
Pathfinding
| Go |
| Syntax |
Pathfinding.Go() |
| Description: |
| Returns if a destination is reachable. |
| Returns |
Boolean |
| In Object: |
Pathfinding |
| Parameters: |
Route Filter Object
|
Route Filter Object
| X |
| Syntax |
|
| Description: |
| Sets the destination position X. |
| Returns |
|
| In Object: |
Pathfinding |
| Parameters: |
Integer, default = 0
|
| Y |
| Syntax |
|
| Description: |
| Sets the destination position Y. |
| Returns |
|
| In Object: |
Pathfinding |
| Parameters: |
Integer, default = 0
|
| Run |
| Syntax |
|
| Description: |
| True - character runs, False - character walks. |
| Returns |
|
| In Object: |
Pathfinding |
| Parameters: |
Boolean, default = True |
| DebugMessage |
| Syntax |
|
| Description: |
| Outputs a debug message. |
| Returns |
|
| In Object: |
Pathfinding |
| Parameters: |
Boolean, default = False |
| StopIfStuck |
| Syntax |
|
| Description: |
| Halts the pathfinding loop. |
| Returns |
|
| In Object: |
Pathfinding |
| Parameters: |
Boolean, default = False |
| IgnoreMobile |
| Syntax |
|
| Description: |
| Ignores any mobiles with the path calculation. |
| Returns |
|
| In Object: |
Pathfinding |
| Parameters: |
Boolean, default = False
|
| UseResync |
| Syntax |
|
| Description: |
| ReSyncs the path calculation. |
| Returns |
|
| In Object: |
Pathfinding |
| Parameters: |
Boolean, default = True
|
| MaxRetry |
| Syntax |
|
| Description: |
| Number of attempts untill the path calculation is halted. |
| Returns |
|
| In Object: |
Pathfinding |
| Parameters: |
Integer, default = -1
|