Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

turning on the lights with delay

Status
Not open for further replies.

MistyDay

Adventurer
Xy$
0.00
Hi all makers,

Once again I´d like ask You for help/hint.

I am trying to find a way how to turn on lights one by one gradually (in cascade) using one light-switch on the wall.
I have tried put "wait command" everywhere but light go on always instantly without delay :(
plugin used is : TerraxLighting

This is how the switch event and the light itself look like (without wait command) :
Any idea how to set delay ?


post a picture

image hosting without registration


ThankY!
 

Cunechan

∠( ᐛ 」∠)_
Did you put the wait command before the first "switch on" command? Not quite sure what the last event page is for, would you mind to explain or is it just for the color?
 

MistyDay

Adventurer
Xy$
0.00
Hi,
I think I have tried everything, may be it wanna another innovative solution.
The 1 and 2 screen is wall switch event , 3rd is one of the light itself event...
I even tried to put switched commands onto 3rd pic and yes with wait command before them...
May be theres no solution for this plugin and no cascade light effect is possible :(
 

LTN Games

Master Mind
Resource Team
Xy$
0.01
Give me about an hour to test out what I can do with this plugin and I'll report back to you if it's doable or not. If it is I'll send you a small demo project of it.
[doublepost=1458158837,1458152927][/doublepost]I was going to send a demo but I hate using the small filesize one. I can explain, it's super easy to accomplish.
Screenshot_1.png
In the screenshot above you notice the red box, this number here is the identifier for which light it is. I'm assuming you used 1 for all your lights, meaning when you use the plugin command " light on 1", it will turn on all lights with the identifier 1. Change each light to a different number, depending how you want it done of course. Then in the event which will turn them on one by one I did this.:

Screenshot_2.png

In my demo I did row by row, so I had two lights with the identifier 1, one of them on the left the other on the right, and then I did two more rows with 2 and 3 as the identifier, when I turned the switch, the first row lit up, then a second or two later the next row and so on, it's really neat I like it. I hope this helps.
 

MistyDay

Adventurer
Xy$
0.00
You are Genius LTNGames!
I used to use the same numbers for all lights in the room connected to the one light-switcher, that's why I would never be able to find a solution I think.
You brought nice atmosphere to old abandoned dungeon ! And even more, opened my blind eventing eyes ! :D
ThankY :3
 

LTN Games

Master Mind
Resource Team
Xy$
0.01
Glad it worked for you and I'm happy to help. Happy lighting :)
[doublepost=1459003897,1458163027][/doublepost]I'm closing this thread due to being resolved if for any reason you'd like it re-opened please report the post and let us know why.
 
Status
Not open for further replies.
Top