-
-
Notifications
You must be signed in to change notification settings - Fork 46
Movement
Generated on 9/2/2024 10:46:49 PM
Version: 4.425.19+0c26057dbb7e7e285dbbb7378d1639f9d9112e29
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(Int32, Int32, Int32)
- x: X Coordinate.
- y: Y Coordinate.
- z: Z Coordinate.
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(System.Object)
- obj: An entity serial in integer or hex format, or an alias string such as "self".
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