-
Notifications
You must be signed in to change notification settings - Fork 18
Orbwalker
qqtnn edited this page Oct 24, 2024
·
2 revisions
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.
orbwalker.get_orb_mode()
Note
Returns the current orbwalker mode.
- Returns: An integer representing the orbwalker 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.
-
none
: Represents no specific orbwalking mode. -
pvp
: Represents the player vs clear
flee
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)
orbwalker.set_clear_toggle(value)
- value param: boolean
orbwalker.set_block_movement(value)
- value param: boolean
orbwalker.set_auto_loot_toggle(value)
- value param: boolean