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"

How do I make a keycard toggle a card reader as active?

Hey everyone, I've just built an inventory and crafting system using Insomnia from BlenderTeks tutorial on youtube (thank you for posting that btw). I'm able to pick up items, destroy them and then add them to the inventory. But now I want to be able to pick up a keycard and use it to open a locked door using a card reader. I've tried having the inventory check for the keycard and toggle the card reader as active, but I'm not sure I'm doing this right. I was hoping someone would have a way to help me.

Product Version: UE 4.10
Tags:
more ▼

asked Jan 24 '16 at 12:37 PM in Blueprint Scripting

avatar image

Entropikz
113 18 22 26

avatar image iorek01 Jan 26 '16 at 02:24 AM

a boolean variable should solve that, when you pick the card turn that to true and check the card reader, if its true, ok you can open that.

avatar image Entropikz Jan 26 '16 at 03:15 AM

Thank you for the response. I was thinking about doing something similar, but I couldn't figure out how to get the engine to check my inventory to see if the card is actually there. I tried replicating the steps in this video: https://www.youtube.com/watch?v=16D4R1OG_yY&feature=youtu.be , but I couldn't figure it out. I used the check inventory interface to run to my actual inventory instead of a string variable like he did. But it didn't work.

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

1 answer: sort voted first

If anyone is trying to answer this question I found this video to be the most helpful: https://www.youtube.com/watch?v=z5-PQx0ypxk

This video: https://www.youtube.com/watch?v=16D4R1OG_yY works if you don't have an inventory system set up. But the first video works better with the inventory/crafting system I set up.

more ▼

answered Jan 29 '16 at 08:50 PM

avatar image

Entropikz
113 18 22 26

(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