• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

Question How to perform the following action in a scene?

TreyWilly

Member
Joined
Nov 30, 2021
Messages
62
Solutions
1
Reactions
75
Hi! I was wondering if someone could help me to determine the most effective way of performing the following in a scene:

As an example, you have 3 buttons and a light. Once all 3 buttons are pushed, in any order, the light will turn on.

Thanks in advance!
 
LogicBricks ;)

  1. Add a "Counter" brick on the light.
    1. Set the Counter's "Count" to 3.
    2. Have "Actions OnUpTrigger" turn on the light.
  2. Give each button a "RelayOnce" brick.
    1. Have each of the buttons trigger it's own RelayOnce
    2. Have each of the RelayOnce each trigger "CountUP" on the Counter.
  3. Probably add a "Reset" button somewhere in your scene that calls "Reset" on all three RelayOnce, calls "SetDown" on the Counter and turns the light off again.
I strongly recommend the video tutorial series on LogicBricks.


Note that LogicBricks is currently in early access again, but for the above an older version you can get for free just works as well.
 
Upvote 0
LogicBricks saves the day, again! Thank you for your quick reply and great plugins. I will also be sure to check out those tutorials as well.
 
Upvote 0
Back
Top Bottom