Home Unreal Engine

Trigger Overlap Question

Greg DAlessandro
polycounter lvl 6
Offline / Send Message
Greg DAlessandro polycounter lvl 6
The Button01 Blueprint Components consists of:
BasicBoxTrigger
TextRenderComponent A
TextRenderComponent B

My LevelBlueprint consists of
matinee 1 *floor 1 elevator door opens/closes
matinee 2 *floor 2 elevator door opens/closes

Question:
Can you have multiples of the Button01 Blueprint (one on floor 1, one on floor 2) and have it play the matinee of the elevator door opening, but only for the floor that you are on?

ie:
the trigger(Button01 Blueprint) on floor 2 will only play the matinee on floor 2.
the trigger(Button01 Blueprint) on floor 1 will only play the matinee on floor 1.

questionA_zpsd7b1bcc0.jpg

Replies

  • Greg DAlessandro
    Options
    Offline / Send Message
    Greg DAlessandro polycounter lvl 6
    Button01 Blueprint:

    Step 1:
    When BeginOverlap > In Trigger = True
    When EndOverlap > In Trigger = False

    Step 2:
    Branch off:
    If True then Toggle Visibility of TextRenderComponent
    If False then Toggle Visibility of TextRenderComponent

    Step 3:
    Event Dispatchers (it basically means "send this information to the level blueprint")
    [Set1]
    -CallButtonUpTrue
    -CallButtonUpFalse
    [Set2]
    -CallButtonDownTrue
    -CallButtonDownFalse

    Button01Blueprint_zpse43e3ff8.jpg

    *SideNote: I have 2 Sequences right after the BeginOverlap/EndOverlap because there are 2 call elevator buttons per floor. (one for the go up button, and one for the go down button)
  • Greg DAlessandro
    Options
    Offline / Send Message
    Greg DAlessandro polycounter lvl 6
    Level Blueprint:

    Step 1:
    If CallButtonUpTrue > Open Gate
    If CallButtonDownFalse > Close Gate

    Step 2: (CallElevator button matinee)
    LeftMouse Button = play matinee (only if gate is open)

    Step 3: (Elevator door matinee)
    Essentially just Open door/close door

    *SideNote I also have steps 1-3 for CallButtonDownTrue and CallButtonDownFalse

    LevelBlueprint_zps3538f806.jpg

    just showing the whole level blueprint:
    Levelblueprintoverview1_zpsa15b5f44.jpg

    Does anyone know?
Sign In or Register to comment.