have shortcut key finction in script?

ll8082
Posts: 14
Joined: Tue Feb 28, 2017 2:40 pm

have shortcut key finction in script?

Post by ll8082 » Wed Mar 08, 2017 5:24 am

have shortcut key finction in script?

agonic
VIP
Posts: 159
Joined: Tue Jan 10, 2017 6:39 pm
Has thanked: 34 times
Been thanked: 112 times

Re: have shortcut key finction in script?

Post by agonic » Wed Mar 08, 2017 8:45 am

You mean like; ?
function OnLoad()
Register( "Desired Function", "NumPad9" );
end

User avatar
0x00
VIP
Posts: 105
Joined: Tue Jan 10, 2017 11:40 pm
Has thanked: 10 times
Been thanked: 23 times

Re: have shortcut key finction in script?

Post by 0x00 » 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

agonic
VIP
Posts: 159
Joined: Tue Jan 10, 2017 6:39 pm
Has thanked: 34 times
Been thanked: 112 times

Re: have shortcut key finction in script?

Post by agonic » Wed Mar 08, 2017 9:40 am

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
:DD

ll8082
Posts: 14
Joined: Tue Feb 28, 2017 2:40 pm

Re: have shortcut key finction in script?

Post by ll8082 » 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 .
Last edited by ll8082 on Wed Mar 08, 2017 10:05 am, edited 2 times in total.

agonic
VIP
Posts: 159
Joined: Tue Jan 10, 2017 6:39 pm
Has thanked: 34 times
Been thanked: 112 times

Re: have shortcut key finction in script?

Post by agonic » Wed Mar 08, 2017 10:02 am

Please dont compare to Para's. :D
You can use it to start/stop attack. Loot is automatic or you can use keybinding. Others are in keyboard binding

agonic
VIP
Posts: 159
Joined: Tue Jan 10, 2017 6:39 pm
Has thanked: 34 times
Been thanked: 112 times

Re: have shortcut key finction in script?

Post by agonic » Wed Mar 08, 2017 10:07 am

for looting, I use pet or

Code: Select all

if Entity ~= nil and Entity:IsMonster() and Entity:IsDead() then
		PlayerInput:Console("/skill loot")
	end

agonic
VIP
Posts: 159
Joined: Tue Jan 10, 2017 6:39 pm
Has thanked: 34 times
Been thanked: 112 times

Re: have shortcut key finction in script?

Post by agonic » Wed Mar 08, 2017 10:08 am

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 ." ?

agonic
VIP
Posts: 159
Joined: Tue Jan 10, 2017 6:39 pm
Has thanked: 34 times
Been thanked: 112 times

Re: have shortcut key finction in script?

Post by agonic » Wed Mar 08, 2017 10:12 am

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.

creatine
Posts: 120
Joined: Wed Jan 18, 2017 4:12 pm
Has thanked: 19 times
Been thanked: 5 times

Re: have shortcut key finction in script?

Post by creatine » Fri Mar 10, 2017 6:08 am

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?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest