Author Topic: Need help with an Event  (Read 713 times)

Ok so, im sure this is possible with VCE, but is there a way to make an energy source? Like say I had a big Generator thing with an on and off switch, and its connected to a bunch of lights. If I turned it off everything would shut off and cant be turned on unless the Generators on. But if its on you can turn stuff on and off, and you'd have to charge it again and again.

I would please like some help on this for a build. Thx for reading.

Its' possible but it would require alot of events.

Talk to sheath/IcyGamma.
He did that once.

Yes it is very possible but very difficult (Unless you know what your doing)I could make a save and show you how but my good pc is currently out-of-service so I cant offer much help.

I can build a basic one using projectiles.

Thank you all for helping, It'd be thankful if someone could send me a save.

It wouldn't be too difficult.

im pretty sure this can be done without VCE if i am understanding you right.

there is a generator, lights, and a switch.  The switch turns on and off the lights.  The generator can be turned on and off too.  If the generator isn't on, then the lights can't be turned on?

im pretty sure this can be done without VCE if i am understanding you right.

there is a generator, lights, and a switch.  The switch turns on and off the lights.  The generator can be turned on and off too.  If the generator isn't on, then the lights can't be turned on?

Yes exactly.

All it is is toggleeventenabled and what not.

Here is a string of events that would be used.  In it, i use a brick for the generator called GEN.  I use a brick of the light called LIGHT.  And two switches.  One for the generator (SGEN).  One for the light (SLIGHT).

Events for SLIGHT.  Just add these events to the end of the preexisting events.

oncontentstart--namedbrick==LIGHT--setlight--player'slight
oncontentstop--namedbrick==LIGHT--setlight--NONE

toggles the light

Events for SGEN.  Just add these events to the end of the preexisting events.

oncontentstop--namedbrick==SLIGHT==toggleeventenabled--the red event above
oncontentstart--namedbrick==SLIGHT==toggleeventenabled--the red event above
what this does is takes away the ability to turn on the light using the switch.

put the switches where you want them and boom, you have a light that only turns on when the generator is on.

Thanks it worked and locking.