Dear ugbase..
I have been trying to make a simple cleo which will modify the game speed.
Similar to what cheat engine does.
This is what i got so far.
thread 'GSP'
wait 3000
03E5: show_text_box 'GSP7'
jump @GSP_120
:GSP_120
wait 0
if and
key_down 16
key_down 81
else_jump @GSP_168
015D: set_gamespeed 0.5
03E5: show_text_box 'GSP1'
jump @GSP_120
:GSP_168
wait 0
if and
key_down 17
key_down 85
else_jump @GSP_216
015D: set_gamespeed 1.0
03E5: show_text_box 'GSP2'
jump @GSP_168
My problem is that it only works if i keep holding down the buttons, and i only want to press it once to enable it. What am i doing wrong?
I have been trying to make a simple cleo which will modify the game speed.
Similar to what cheat engine does.
This is what i got so far.
thread 'GSP'
wait 3000
03E5: show_text_box 'GSP7'
jump @GSP_120
:GSP_120
wait 0
if and
key_down 16
key_down 81
else_jump @GSP_168
015D: set_gamespeed 0.5
03E5: show_text_box 'GSP1'
jump @GSP_120
:GSP_168
wait 0
if and
key_down 17
key_down 85
else_jump @GSP_216
015D: set_gamespeed 1.0
03E5: show_text_box 'GSP2'
jump @GSP_168
My problem is that it only works if i keep holding down the buttons, and i only want to press it once to enable it. What am i doing wrong?