Product Chat (Early Access) / Can a switch only toggle/activate one item?

Author
Message
thatandplaygames
4
Years of Service
User Offline
Joined: 12th Feb 2020
Location: In a creative space
Posted: 6th Apr 2022 18:15 Edited at: 6th Apr 2022 18:36
Can a switch only toggle 1 item? I have 3 lights and can only connect one to a switch. I would like the switch to turn on all of the lights.



https://youtu.be/Fpvmv2dXsq0


Thanks!
Monkey Frog
4
Years of Service
User Offline
Joined: 5th Feb 2020
Location:
Posted: 6th Apr 2022 18:44
You should be able to connect up to 8 (or more?) to one trigger object. So, connecting a single switch to three lights should easily work:

Intel i9-10900K 5.10GHz, 64 GB RAM, Nvidia GTX 1080 ti 11GB, Windows 10 64-bit, dual monitor display
thatandplaygames
4
Years of Service
User Offline
Joined: 12th Feb 2020
Location: In a creative space
Posted: 6th Apr 2022 18:47
I just did a test on a simple map/level and it does work... but why not in the game that I'm working on? Uggggg
Monkey Frog
4
Years of Service
User Offline
Joined: 5th Feb 2020
Location:
Posted: 6th Apr 2022 18:48
I think your problem is your second light's Behavior is set to the Flicker Light behavior. That behavior is not meant to be able to turn on/off. It's just for making a light continuously flicker. You should use the Toggle Light Behavior instead.
Intel i9-10900K 5.10GHz, 64 GB RAM, Nvidia GTX 1080 ti 11GB, Windows 10 64-bit, dual monitor display
thatandplaygames
4
Years of Service
User Offline
Joined: 12th Feb 2020
Location: In a creative space
Posted: 6th Apr 2022 19:25
Toggle Light Behavior is not working at all. I heard if you replace the Toggle Light Behavior script it will work. Rather than dloading everything... can someone send me the script? Please.

After looking into this... when I place the lights, they seem to located at the wrong x,y,z coordinates. See this video. Could this be the issue?




https://youtu.be/DxFNZhM49Yo
Monkey Frog
4
Years of Service
User Offline
Joined: 5th Feb 2020
Location:
Posted: 6th Apr 2022 20:17
It should work. Mine does. Here's my set up:



https://www.monkeyfrogstudio.com/uploads/MAX/Light%20Switch-1.mp4
Intel i9-10900K 5.10GHz, 64 GB RAM, Nvidia GTX 1080 ti 11GB, Windows 10 64-bit, dual monitor display
thatandplaygames
4
Years of Service
User Offline
Joined: 12th Feb 2020
Location: In a creative space
Posted: 6th Apr 2022 20:18
I'm thinking something is wrong with the initial placements of my lights... see video.



https://youtu.be/sw65bDvIlLA
Monkey Frog
4
Years of Service
User Offline
Joined: 5th Feb 2020
Location:
Posted: 6th Apr 2022 20:42
No. The initial placement of lights is a bug that is known and reported on GitHub. That has nothing to do with the switches working or not. I get it, too.
Intel i9-10900K 5.10GHz, 64 GB RAM, Nvidia GTX 1080 ti 11GB, Windows 10 64-bit, dual monitor display

Login to post a reply

Server time is: 2024-12-22 05:21:24
Your offset time is: 2024-12-22 05:21:24