Skip to content

Orbwalker

qqtnn edited this page Oct 24, 2024 · 2 revisions

Orbwalker Documentation

Overview

The Orbwalker component provides functionalities to get and set the orbwalking mode. It helps in managing the character's movement and attack behavior during gameplay.

Functions

Get Orbwalker Mode

orbwalker.get_orb_mode()

Note

Returns the current orbwalker mode.

  • Returns: An integer representing the orbwalker mode.

Enum: orb_mode

The orb_mode enum defines the different modes that the orbwalker can be in. These modes determine the behavior of the character in terms of movement and attacking.

Enum Values

  • none: Represents no specific orbwalking mode.
  • pvp: Represents the player vs
  • clear
  • flee

Set Orbwalker Mode

orbwalker.set_orbwalker_mode(mode)

--none = 0,
--pvp = 1,
--flee = 2,
--clear = 3

-- both are the same
orbwalker.set_orbwalker_mode(3)
orbwalker.set_orbwalker_mode(orb_mode.clear)

Set Clear Toggle

orbwalker.set_clear_toggle(value) - value param: boolean

Set Block Movement

orbwalker.set_block_movement(value) - value param: boolean

Set Auto Loot Toggle

orbwalker.set_auto_loot_toggle(value) - value param: boolean

Clone this wiki locally