Can you Disable an Event during runtime?

Just started using Construct 2? Post your questions here

Post » Tue Mar 28, 2017 10:19 pm

Because I'm kinda a noob, I'm trying to temporarily disable this event, during runtime, after execution.

https://www.dropbox.com/s/5900st4v4yikx2r/timer.png?dl=0

I would like to re-enable it once the timer expires. I'm trying to simulate a timer like you see in Mobile games to encourage microtransactions. Any ideas?

Thanks!
Brandon

(apparently Dropbox doesn't link pictures very well)
B
12
S
6
G
1
Posts: 27
Reputation: 1,756

Post » Tue Mar 28, 2017 10:50 pm

@BrandonJAwesome
You can either use a variable check and nest your event block/call a function or you can put them inside a group and enable/disable it when needed.
Image
B
30
S
9
G
3
Posts: 171
Reputation: 3,334

Post » Tue Mar 28, 2017 10:52 pm

Perfect. I'll give it a try. Thank you!
B
12
S
6
G
1
Posts: 27
Reputation: 1,756


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests