c_orbwalker
Functions
send_attack
Argument | Type | Required |
---|---|---|
network_id | number | + |
local target = feature.targeting.get_default_target()
if target ~= nil then
features.orbwalker:send_attack(target.network_id)
end
is_in_attack
Argument | Type | Required |
---|---|---|
returns | boolean |
if features.orbwalker:is_in_attack() then
print("Orbwalker in attack")
end
send_move_input
Argument | Type | Required |
---|---|---|
position | vec3 | + |
force | boolean | + |
features.orbwalker:send_move_input(vec3(0, 0, 0), true)
set_cast_time
Argument | Type | Required |
---|---|---|
time | number | + |
features.orbwalker:set_cast_time(0.25)
can_move
Argument | Type | Required |
---|---|---|
returns | boolean |
if features.orbwalker:can_move() then
print("Can move")
end
is_attackable
Argument | Type | Required |
---|---|---|
index | number | + |
range | number | + |
edge_range | boolean | + |
returns | boolean |
local target = features.target_select:get_default_target()
if target == nil then
return
end
local attackable = features.orbwalker:is_attackable(target.index, 1000, true)
if attackable then
print("Target is attackable")
end
get_ping
Argument | Type | Required |
---|---|---|
returns | number |
print("Ping: " .. features.orbwalker:get_ping())
get_mode
Argument | Type | Required |
---|---|---|
returns | e_orbwalker_mode |
reset_aa_timer
-- Reset orbwalker attack timer
features.orbwalker:reset_aa_timer()
can_attack
Argument | Type | Required |
---|---|---|
returns | boolean |
if features.orbwalker:can_attack() then
print("Can attack")
end
should_reset_aa
Argument | Type | Required |
---|---|---|
returns | boolean |
if features.orbwalker:should_reset_aa() then
print("Should reset aa")
end
allow_movement
Argument | Type | Required |
---|---|---|
allowed | boolean | + |
allow_attacks
Argument | Type | Required |
---|---|---|
allowed | boolean | + |
get_last_attack_start_time
Argument | Type | Required |
---|---|---|
returns | number |
get_last_attack_ending_time
Argument | Type | Required |
---|---|---|
returns | number |
get_last_attack_time
Argument | Type | Required |
---|---|---|
returns | number |
get_previous_attack_time
Argument | Type | Required |
---|---|---|
returns | number |
get_cast_spell_time
Argument | Type | Required |
---|---|---|
returns | number |
override_target
Argument | Type | Required |
---|---|---|
target_index | number | + |
require_attack | boolean | - |
returns | boolean |
is_unit_headshottable
Argument | Type | Required |
---|---|---|
target_index | number | + |
returns | boolean |
get_target_autospacing_position
Argument | Type | Required |
---|---|---|
returns | vec3 |
get_last_target_index
Argument | Type | Required |
---|---|---|
returns | number |
is_hard_crowdcontrolled
Argument | Type | Required |
---|---|---|
returns | boolean |
get_support_limiter_active
Argument | Type | Required |
---|---|---|
returns | boolean |
set_last_attack_time
Argument | Type | Required |
---|---|---|
time | number | + |
set_last_cast
get_aa_missile_speed
Argument | Type | Required |
---|---|---|
target | c_object | + |
returns | boolean |
get_spellfarm_target_index
Argument | Type | Required |
---|---|---|
returns | number | nil |
should_attack_target
Argument | Type | Required |
---|---|---|
target | c_object | + |
returns | boolean |
is_autoattack_allowed
Argument | Type | Required |
---|---|---|
returns | boolean |
is_movement_allowed
Argument | Type | Required |
---|---|---|
returns | boolean |
get_lasthit_target
Argument | Type | Required |
---|---|---|
returns | c_object | nil |
get_laneclear_target
Argument | Type | Required |
---|---|---|
fast_clear | boolean | + |
returns | c_object | nil |
get_freeze_target
Argument | Type | Required |
---|---|---|
returns | c_object | nil |
get_senna_soul_target
Argument | Type | Required |
---|---|---|
returns | c_object | nil |
get_xayah_passive_harass_target
Argument | Type | Required |
---|---|---|
returns | c_object | nil |
get_special_target
Argument | Type | Required |
---|---|---|
returns | c_object | nil |
get_special_target_low_priority
Argument | Type | Required |
---|---|---|
returns | c_object | nil |
get_turret_target
Argument | Type | Required |
---|---|---|
returns | c_object | nil |
can_attack_turret
Argument | Type | Required |
---|---|---|
returns | boolean |
get_magnet_position
Argument | Type | Required |
---|---|---|
returns | vec3 | nil |
can_override_attack
Argument | Type | Required |
---|---|---|
index | number | + |
returns | boolean |