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 to - Lockdown Function? Across Multiple BPs

Would a function to lockdown multiple BP's from another BP in a sort of Command room be my best option? I think it would be but I'm still in my first 6 months of messing with UE4.

Also another function for override with a keycard from an array i have set up would also work just as a branch check the bool of if i have that card or not?

Sorry for multiple questions but i think i have the override pretty much figured out.

Product Version: UE 4.20
more ▼

asked Feb 11 '19 at 01:46 AM in Blueprint Scripting

avatar image

3 1 1

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Yes and doing it using a BlueprintInterface is a good option.

Example: you have a different kind of doors but all of them share the same function OpenDoor. You can create a BlueprintInterface (i.e., OpenDoorInterface) and then make a parent Blueprint (i.e. DoorActor) that has OpenDoorInterface. Then you can make all kind of doors using DoorActor blueprint as a parent (i.e., MySteelDoorActor, MyWoodenDoorActor, MyMarshmallowDoorActor) and all of them implement OpenDoor function based how they'll be opened.

So your other actor can get a reference to any kind of door and open it using OpenDoor interface. This video can provide more info on using Interface in action: https://www.youtube.com/watch?v=xNKwsJGv--k

more ▼

answered Feb 11 '19 at 02:40 AM

avatar image

1.2k 8 4 7

avatar image RolyatDerTeufel Feb 18 '19 at 12:30 PM

So with interfaces, I want to do each single function in its own BP Interface? I'm trying to learn best practices and such with being a lone beginner.

My animation BP looks like chaos cause the tutorials i watched didn't say or show how animation montages work. So i have a blend space for each movement and a blend by bone or whatever to mix something like crouching and reloading.

(comments are locked)
10|2000 characters needed characters left
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