Steam Avatar
You aren't signed in

Output Event - SetEventDelay

1 KB, 14 years ago, submitted by Truce

Sets the delay of events on a brick.

Self -> SetEventDelay [Events, Delay]

Example:
onActivate -> Self -> SetEventDelay [1, 5000]
onActivate -> Client -> CenterPrint ["Click again for a delayed message!", 3]

zombie clown
Uhh...Dosent the mod manager come with something similar to this? Minus the extra event?
istree1
OMG not again,THIS IS A DEFAULT EVENT
Aber Purchai
What's the max delay? I want to make a traffic system with up to 1 min delays.
boomheadshot
You can already do this on a base of milliseconds. Why make it use more events, lag more and have to take up more hard disk. Tell me. Why is this better than what's already there?
TeddyTrooper
This is a nice event, useful for random timers like:
onActivate -> Self -> VCE_ModVariable -> Rand Set 0
onActivate -> Self -> VCE_ModVariable -> Rand Randnum 5000
onActivate -> Self -> SetEventDelay 5,
onActivate -> Self -> SetEventDelay 6,
onActivate -> Self -> FireRelay
onRelay -> Client -> CenterPrint-> "Blargh. I have tourrettes syndrome."
onRelay -> Self -> FireRelay


Tourrettes syndrome brick. xD
Tourrettes brick FTW. This event FTW. Not much else to say, no?
Arus3595
Its not working please tell me why then fix it...