x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Puzzle to open door

Hello

I need to open the door for the player to continue through my level, however I cannot seem to figure out what I need to do for the puzzle to open the door once it is solved.

Here are the screenshots, the yellow colour is what is correct (On) and the red is what incorrect (Off)

![alt text][2]

I have a door that should be opened after the puzzle is solved. Here is the blueprint.

alt text

If anyone has any solutions I could use, please help.

Thank you.

[2]: /storage/temp/235052-puzzle.jpg

Product Version: UE 4.17
Tags:
puzzle.jpg (129.2 kB)
puzzle.jpg (129.2 kB)
doorbp.jpg (148.9 kB)
more ▼

asked Mar 25 '18 at 09:31 PM in Blueprint Scripting

avatar image

OscarPullin
1 2 3

avatar image OscarPullin Mar 25 '18 at 09:34 PM

Just to be 100% clear, the puzzle itself works fine, BUT, I'm not sure how I can trigger the door to open once the puzzle is solved.

Please help.

Thank you

Oscar ~

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Best bet would to bind an event, something like, bind to open door or the like, name it anything. at the end of tour check call that event, then that event for open door will have a timeline move the door.

https://docs.unrealengine.com/en-us/Engine/Blueprints/UserGuide/EventDispatcher/BindingAndUnbinding

more ▼

answered Mar 25 '18 at 09:43 PM

avatar image

GIGA-Money
237 2 11 6

avatar image OscarPullin Mar 25 '18 at 09:54 PM

Hi,

So you would make a bind event in the Door blueprint or the puzzle blueprint? and have its strings where? I still don't get how this bind node works?

avatar image salm Mar 25 '18 at 10:33 PM

Use the bind node in your door BP to set a bool enabling interaction (you have a branch node after door interaction, but you haven't connected). Then, you can call your event from the puzzle.

Try creating the event dispatcher in Door BP, but maybe in GameState, PlayerPawn, or any other BP you can easily reference if you can't call it from Puzzle BP.

avatar image OscarPullin Mar 26 '18 at 11:42 AM

Thank you, I'll try this :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question