Page 1 of 2
have shortcut key finction in script?
Posted: Wed Mar 08, 2017 5:24 am
by ll8082
have shortcut key finction in script?
Re: have shortcut key finction in script?
Posted: Wed Mar 08, 2017 8:45 am
by agonic
You mean like; ?
function OnLoad()
Register( "Desired Function", "NumPad9" );
end
Re: have shortcut key finction in script?
Posted: Wed Mar 08, 2017 9:33 am
by 0x00
I think he means like the 0verX script i wrote, a button to turn auto attack on and off
Re: have shortcut key finction in script?
Posted: Wed Mar 08, 2017 9:40 am
by agonic
0x00 wrote: ↑Wed Mar 08, 2017 9:33 am
I think he means like the 0verX script i wrote, a button to turn auto attack on and off

D
Re: have shortcut key finction in script?
Posted: Wed Mar 08, 2017 10:00 am
by ll8082
My mean is script have a function use game shorthcut key?
as:
Code: Select all
sendkey(3); --- loot
sendkey(1); --- accatk
sendkey(2); --- skill***
sendkey(F1); --- select self
sendkey(Tab); --- next target
i use PlayerInput:Ability( "Loot" ); alway have error , cant loot items .
when i close window , char dont stand , so cant use skills. and IsrResting() cant check .
Re: have shortcut key finction in script?
Posted: Wed Mar 08, 2017 10:02 am
by agonic
Please dont compare to Para's.

You can use it to start/stop attack. Loot is automatic or you can use keybinding. Others are in keyboard binding
Re: have shortcut key finction in script?
Posted: Wed Mar 08, 2017 10:07 am
by agonic
for looting, I use pet or
Code: Select all
if Entity ~= nil and Entity:IsMonster() and Entity:IsDead() then
PlayerInput:Console("/skill loot")
end
Re: have shortcut key finction in script?
Posted: Wed Mar 08, 2017 10:08 am
by agonic
ll8082 wrote: ↑Wed Mar 08, 2017 10:00 am
My mean is script have a function use game shorthcut key?
as:
Code: Select all
sendkey(3); --- loot
sendkey(1); --- accatk
sendkey(2); --- skill***
sendkey(F1); --- select self
sendkey(Tab); --- next target
i use PlayerInput:Ability( "Loot" ); alway have error , cant loot items .
when i close window , char dont stand , so cant use skills. and IsrResting() cant check .
"when i close window , char dont stand , so cant use skills. and IsrResting() cant check ." ?
Re: have shortcut key finction in script?
Posted: Wed Mar 08, 2017 10:12 am
by agonic
What I understand;
If your char is resting without your permission, either Allow.Rest = true in settings or You have added rest code in your code.
Re: have shortcut key finction in script?
Posted: Fri Mar 10, 2017 6:08 am
by creatine
0x00 wrote: ↑Wed Mar 08, 2017 9:33 am
I think he means like the 0verX script i wrote, a button to turn auto attack on and off
oh yeah regarding those script, i wanna use my mouse wheel button or extra mouse button 1 and 2 to activate the script. do u know what should i write as the activation key?