Author Topic: Creatting A Long Event Pause  (Read 951 times)

I looked, but couldn't find anything.

How can I cause a pause in a brick to delay fo a long amount of time? Like 5 min. or something like that.

I need to be able to create a long timeout for a trigger that would glitch out or be otherwise annoying.

You could make a stack of plates, put the first part on the bottom one then for the long pause fire a relay up.
On each plate, fire a relay up 30 seconds after onrelay.
On the top plate, continue the events with onrelay.

You could make a stack of plates, put the first part on the bottom one then for the long pause fire a relay up.
On each plate, fire a relay up 30 seconds after onrelay.
On the top plate, continue the events with onrelay.
But onRelay does not give you all the targets you might need.

But onRelay does not give you all the targets you might need.
Then use vce to get them back.

You could make a stack of plates, put the first part on the bottom one then for the long pause fire a relay up.
On each plate, fire a relay up 30 seconds after onrelay.
On the top plate, continue the events with onrelay.

I didn't even think about this.

I might be able to make this work. Thanks.

I'll leave this open in case some has another idea.

Okay.

So I was able to create a masive delay, using a combination of relay and variable events.

I fired a trigger relay into a brick which then bounced the relay back and forth between itself and a third brick wile increminting a counter veriable on the second brick. Once the counter reaches a spicific number a relay is fired back in to the trigger brick and everything is reset.

Thanks for recommending relays. They've saved me a lot of time.

Okay.

So I was able to create a masive delay, using a combination of relay and variable events.

I fired a trigger relay into a brick which then bounced the relay back and forth between itself and a third brick wile increminting a counter veriable on the second brick. Once the counter reaches a spicific number a relay is fired back in to the trigger brick and everything is reset.

Thanks for recommending relays. They've saved me a lot of time.

This is a bit unnecessarily complicated.

What you need is a VCE loop on a single brick.

Code: [Select]
[0] [x] [0] [OnActivate] [Self] [VCE_ModVariable] [Count] [Set] [0]
[1] [x] [0] [OnActivate] [Self] [FireRelay]
[2] [x] [1000] [OnRelay] [Self] [VCE_IfVariable] [Count] [>=] [100] [3 6]
[3] [x] [0] [OnVariableFalse] [Self] [VCE_ModVariable] [Count] [Add] [1]
[4] [x] [0] [OnVariableFalse] [Self] [FireRelay]
[5] [x] [0] [OnVariableTrue] [Self] [VCE_ModVariable] [Count] [Set] [0]
[6] [x] [0] [OnVariableTrue] [...

the (...) at the end represents whatever you want to happen as a result of the loop.
The 1000 millisecond delay can be as large as you want.
The 100 to the right of the IfVariable argument can be as large as you want as well.
You can replace "count" with whatever variable name you want to use

I have used this system in pretty much everything I have ever made with VCE.

This is a bit unnecessarily complicated.

What you need is a VCE loop on a single brick.

Code: [Select]
[0] [x] [0] [OnActivate] [Self] [VCE_ModVariable] [Count] [Set] [0]
[1] [x] [0] [OnActivate] [Self] [FireRelay]
[2] [x] [1000] [OnRelay] [Self] [VCE_IfVariable] [Count] [>=] [100] [3 6]
[3] [x] [0] [OnVariableFalse] [Self] [VCE_ModVariable] [Count] [Add] [1]
[4] [x] [0] [OnVariableFalse] [Self] [FireRelay]
[5] [x] [0] [OnVariableTrue] [Self] [VCE_ModVariable] [Count] [Set] [0]
[6] [x] [0] [OnVariableTrue] [...

the (...) at the end represents whatever you want to happen as a result of the loop.
The 1000 millisecond delay can be as large as you want.
The 100 to the right of the IfVariable argument can be as large as you want as well.
You can replace "count" with whatever variable name you want to use

I have used this system in pretty much everything I have ever made with VCE.

Where should I get VCE. (Everything's been a mess since RTB died.)



No. No. No. No. No.

Get here because I fixed the in-game VCE manual.
http://jes00.webs.com/vce-manual
Why would anyone need a vce manual? It's self explanatory.

Why would anyone need a vce manual? It's self explanatory.

I might use is as a reference. I have terrible memory.

I sometimes have to look up the Variable Events manual.

Why would anyone need a vce manual? It's self explanatory.
Look up the values.