-
-
Notifications
You must be signed in to change notification settings - Fork 54
Movement
Generated on 3/10/2026 3:07:34 AM
Version: 5.0.1+cb2bfafc8ca61e99043cebfbd4c89fcbe562551b
Method Signature:
Void Follow(System.Object)
- obj: An entity serial in integer or hex format, or an alias string such as "self". (Optional)
Description:
Instructs ClassicUO to follow the specified alias/serial, supply no parameter to cancel
Example:
if FindObject('enemy'):
Follow('enemy')
Attack('enemy')
else:
Follow() # stop following
Pause(1000) Method Signature:
Boolean Following()
Description:
Returns True if currently following a target
Example:
if not Following():
Follow('enemy') Method Signature:
Boolean Pathfind(System.Object, Boolean, Int32)
- obj: An entity serial in integer or hex format, or an alias string such as "self".
- checkdistance: Not specified - See description for usage. (Optional)
- desireddistance: Not specified - See description for usage. (Optional)
Description:
Requests client to pathfind to given coordinates / entity
Example:
#Pathfind to coordinates
Pathfind(1438, 1630, 20)
#Pathfind to entity
SetEnemy(0x3c9)
Pathfind('enemy')
# Cancel pathfind in progress
Pathfind(-1) Method Signature:
Boolean Pathfind(Int32, Int32, Int32, Boolean, Int32)
- x: X Coordinate.
- y: Y Coordinate.
- z: Z Coordinate.
- checkdistance: Not specified - See description for usage. (Optional)
- desireddistance: Not specified - See description for usage. (Optional)
Description:
Requests client to pathfind to given coordinates / entity
Example:
#Pathfind to coordinates
Pathfind(1438, 1630, 20)
#Pathfind to entity
SetEnemy(0x3c9)
Pathfind('enemy')
# Cancel pathfind in progress
Pathfind(-1) Method Signature:
Boolean Pathfinding()
Description:
Returns True if ClassicUO is currently pathfinding
Example:
Pathfind('enemy')
Pause(25) # there is a delay between calling Pathfind() and Pathfinding() being True
while Pathfinding():
Pause(50)
HeadMsg("die scum", "self") Method Signature:
Boolean Run(System.String)
- direction: Direction, ie "West". See Also: Direction
Description:
Run in the given direction.
Example:
Run("east") Method Signature:
Void SetForceWalk(Boolean)
Description:
Set force walk, True or False
Example:
SetForceWalk(True) Method Signature:
Void ToggleForceWalk()
Description:
Toggle Force Walk
Example:
ToggleForceWalk() Method Signature:
Void Turn(System.String)
- direction: Direction, ie "West". See Also: Direction
Description:
Turn in the given direction.
Example:
Turn("east") Method Signature:
Boolean Walk(System.String)
- direction: Direction, ie "West".
Description:
Walk in the given direction.
Example:
Walk("east") - North
- Northeast
- East
- Southeast
- South
- Southwest
- West
- Northwest
- Invalid