Page 1 of 1

Activate trainer with hotkey

Posted: Mon Nov 27, 2017 9:58 am
by Blayde
Is this possible with CE ?

Image

Re: Activate trainer with hotkey

Posted: Mon Nov 27, 2017 10:55 am
by STN
Blayde wrote:
Mon Nov 27, 2017 9:58 am
Is this possible with CE ?

Image
Sure, make one big script called it activation set a hotkey. Then simple have flags inside that toggle each cheat

e.g

activation script:
[enable]
cmp [unl_health], 1
jne @F
@@:
cmp [unl_stamina], 1
jne code


in your individual scripts, do

[enable]
unl_health:
dd 1
[disable]
unl_health:
dd 0

and so on

Re: Activate trainer with hotkey

Posted: Mon Nov 27, 2017 11:27 am
by Blayde
STN wrote:
Mon Nov 27, 2017 10:55 am
Sure, make one big script called it activation set a hotkey. Then simple have flags.......
I was hoping that it may be possible, but if there is no other way...
Thank you for reply.

Re: Activate trainer with hotkey

Posted: Fri Feb 09, 2018 3:23 pm
by movss
sure
e.g
'========== this is lua script
enable=[[
---your assemble code
....
]]

function work()
autoAssemble(enale)
end

createHotkey("work",VK_HOME)
'==========
then it will run the code of enable

Re: Activate trainer with hotkey

Posted: Fri Feb 09, 2018 3:26 pm
by movss
er,maybe you want to activate the form
so that ,on hotkey event you can define

form.visible=true