Announcement

Collapse
No announcement yet.

Two Events for one action

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Two Events for one action

    Hello,

    I think my question is very simple but I can not find the right option in BP.

    I want, that one action happens but I have 2 requirements for them.

    For Example a Light with a switch on another side of the room. I want that I can use the switch if im near enough and I use it pressing "E" for example. In C++ I would use the & but how can I do this on BP?

    I've seen a tutorial about this. But the Problem here is if I have more then one lights and switchs all lights are turning on. And thats not what I want.

    Hope you understand me and thanks in advance.

    greez Rok

    #2
    You can use a boolean variable(set if it's true or not via distance detection) and a Branch node for E key event so that it fires only when the bool is true.
    FREE VR Drum Kit Project
    FREE Color LUT Collection
    FREE Physics Driven Spacecraft Project
    FREE GTA Style Vehicle Interaction
    Dynamic DoF(Depth of Field)
    Camera Crossfade

    Comment


      #3
      Sounds like a good idea Ill try that

      Comment

      Working...
      X