phBot Plugins
  • Introduction
  • Example Plugins
  • phBot API
    • Client
    • Guild
    • Events
    • Players
    • Party
    • NPC
    • Character
    • Academy
    • Inventory
    • Pets
    • Monsters
    • Encoding
    • Locale
    • Config
    • Botting
    • Taxi
    • Packet Injection
    • Log
    • Game Data
    • Teleport
    • Training Area
    • Command Line Arguments
    • Movement
    • Quests
    • Drops
    • Paths
    • Script
    • Notifications
    • Alchemy
    • Misc
  • Chat API
  • Handling Script Commands
  • GUI API
Powered by GitBook
On this page
  • move_to(x, y, z)
  • move_to_region(region, x, y, z)
  1. phBot API

Movement

move_to(x, y, z)

Moves to the specified coordinates.

  • Z coordinate can be 0.

  • This function call will not wait for the character to reach the destination. This is so the threads do not block.

  • This function supports moving on transports/pets.

Usage

move_to(6400.0, 800.0, 0.0)

Returns

None

move_to_region(region, x, y, z)

Usage

move_to_region(25000, 6400.0, 800.0, 0.0)

Returns

None

PreviousCommand Line ArgumentsNextQuests

Last updated 2 years ago