Author Topic: Output Event - setEventTimeout  (Read 10136 times)

This adds two events to your game:

Output Event - setEventTimeout - Stops the brick being activated or used for x seconds.
Input Event - onTimeout - This is called when someone tries to activate a timed-out brick.

Its useful for buttons which you only want to be able to activate once every x seconds.

Download:
Event_setEventTimeout.zip (703b)
« Last Edit: September 10, 2008, 04:19:17 PM by Ephialtes »

ooh, so you could use it to stop noice spam on pressing? :D


Exactly what I wanted! Thanks.

Now maybe I can make my timed turret.

Excellent script, Ephialtes! This will help against event-flooding.
Thanks.

Could you make it so you select which events time out instead of all of them?


ooh, so you could use it to stop noice spam on pressing? :D



Yes! Hah! Finally, now i can stop people from totally destroying my electrical system.

Yay i hate spam....

Sweet i could use this, nice job Ephialtes :D

Could you make it so you select which events time out instead of all of them?
Just use setEventEnabled, one time toggling your input off, and then a delayed one toggling it on.

This event is just a built in event with some of its limbs cut off.
« Last Edit: August 13, 2008, 02:53:57 AM by T3h Ub3r K1tten »

Could you make it so you select which events time out instead of all of them?
Just use setEventEnabled, one time toggling your input off, and then a delayed one toggling it on.

This event is just a simplification of a built in feature.
Lol, silly Ephi.

nice ill find a way to use it

Could you make it so you select which events time out instead of all of them?
Just use setEventEnabled, one time toggling your input off, and then a delayed one toggling it on.

This event is just a built in event with some of its limbs cut off.

This just makes it easier, If you've got a problem with it don't download it but clearly some people appreciate it and that makes it worthwhile for me.

Could you make it so you select which events time out instead of all of them?
Just use setEventEnabled, one time toggling your input off, and then a delayed one toggling it on.

This event is just a built in event with some of its limbs cut off.

This just makes it easier, If you've got a problem with it don't download it but clearly some people appreciate it and that makes it worthwhile for me.
If someone else made this, and you thought of what K1tten said, I bet you'd be saying the same thing.