View previous topic :: View next topic |
Author |
Message |
AylinCE Grandmaster Cheater Supreme Reputation: 31
Joined: 16 Feb 2017 Posts: 1234
|
Posted: Mon Dec 03, 2018 9:11 am Post subject: TimerstopTimer help! |
|
|
To stop an independent timer
timed timer, how to install?
When I set any Timer, it stops the time waiting.
A description for StopTimer or
to stop the independent timer
Please give a set hint of time.
Code: | function CEButton1Click(sender)
gif2.image.stretch = true
gif2.image.Visible = true
gif1.image.Visible = true
gif1.image.stretch = true
UDF1.CETimer1.enabled = true
end
UDF1.CETimer1.Interval = "100000"
CETimer1.stopTimer(sender)
gif2.image.stretch = false
gif2.image.Visible = false
gif1.image.Visible = false
gif1.image.stretch = false
end |
thanks in advance for your help and idea
_________________
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Mon Dec 03, 2018 10:59 am Post subject: |
|
|
UDF1.CETimer1.enabled=false
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 31
Joined: 16 Feb 2017 Posts: 1234
|
Posted: Mon Dec 03, 2018 11:54 am Post subject: |
|
|
Thanks for the answer.
There is a "false" mechanism.
EDIT:
When I set up Interval, it can be turned off and on for the time I set.
I opened the second project and tried it with a few pictures.
Code: | UDF1.CETimer1.enabled = true
UDF1.CETimer1.interval="15000"
gif1.image.Visible = true
gif1.image.stretch = true
function CETimer1Timer(sender)
gif2.image.stretch = false
gif2.image.Visible = false
gif1.image.Visible = false
gif1.image.stretch = false
UDF1.CEImage32.visible = false
UDF1.CEImage33.visible = false
UDF1.CEImage21.visible = true
UDF1.CETimer1.enabled = false
UDF1.CETimer2.enabled = true
end |
After 4 hours of thinking, I tried both and asked the forum.
He's a habit.
Thanks again for your time.
_________________
|
|
Back to top |
|
|
DERT3 How do I cheat? Reputation: 1
Joined: 02 Dec 2018 Posts: 0
|
Posted: Mon Dec 03, 2018 2:29 pm Post subject: |
|
|
getOnTimer() : function(timer)
Returns the 'OnTimer' event.
use this method for CETimer1.
wiki.cheatengine.org/index.php?title=Lua:Class:Timer
if you dont use it, write a timer function for it.
|
|
Back to top |
|
|
noobes Advanced Cheater Reputation: 0
Joined: 17 Dec 2018 Posts: 89
|
Posted: Fri Dec 28, 2018 2:36 pm Post subject: |
|
|
Go timer event and do UDF1.CETimer1.Enabled = false/true
|
|
Back to top |
|
|
|