User Tools

Site Tools


pathfinding_func

This is an old revision of the document!


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

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

pathfinding_func.1647985159.txt.gz · Last modified: 2022/09/03 22:41 (external edit)