• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.

Question How to perform the following action in a scene?

TreyWilly

Member
Joined
Nov 30, 2021
Messages
66
Solutions
1
Reactions
82
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