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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Creating Puzzle Guidance

Hi, I want to create a puzzle where if you step on all 9 pads, they change color and do an action. For example opening a door etc. I have no idea how to go about this, can I have some advice or Guidance please. Thank you :D

Product Version: UE 4.17
more ▼

asked Oct 05 '17 at 11:40 AM in Using UE4

avatar image

1 1 1

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

1 answer: sort voted first

There's half a dozen options here, at least.

The simplest one would be to create an array of 9 false bools. When the player steps on a pad, set the corresponding bool to True and loop through the array checking if they're all True. If they're all True -> Open the door.

more ▼

answered Oct 05 '17 at 04:09 PM

avatar image

14.7k 76 25 61

avatar image Kieran_C Oct 05 '17 at 06:14 PM

OKay, so i have had a look and i am totally stumped. I don't really know where to start ahaha :D

avatar image Everynone Oct 06 '17 at 06:34 AM

Do you at least have your puzzle? Player movement?

avatar image Kieran_C Oct 06 '17 at 09:52 AM

Yeah i have my player moving, i have it so that when the player interacts with one of the pads, it changes color, i just get confused on the whole array aspect and how to use it.

avatar image Everynone Oct 06 '17 at 10:38 AM

Not sure how you have it set up but see if that helps:

alt text

If you do not like loopy loops:

alt text

This is a very crude example but I hope it demonstrates the idea.

boolloop.png (447.3 kB)
manualbool.png (192.5 kB)
(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