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"

Can you create global functions for level BP?

I'm wondering if it's possible to create a function that I can use in any level blueprint that I want rather than having to copy and paste the code into every level. I realize that I could create a base level that already has the function in it and then create all of my future levels from that, but I'm just curious if its possible to create a global function that level BPs can use as this would be very handy. From my Googling I could only find ways to do it with a C++ project and not purely with blueprint.

Product Version: UE 4.13
Tags:
more ▼

asked Nov 23 '16 at 08:18 AM in Blueprint Scripting

avatar image

TorQueMoD
1.2k 86 116 146

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

1 answer: sort voted first

Oh strange, I looked at the right click menu of the content browser in 4.13 and found an asset called "Blueprint Function Library" under the Blueprints category. When I did a google search earlier and found the official documentation for the Blueprint Function Library (https://docs.unrealengine.com/latest/INT/Programming/BlueprintFunctionLibraries/), I thought it was showing how to create one via C++ and didn't realize that it was something already implemented into the engine. I think someone needs to update the documentation for this feature as it doesn't talk about how to use the asset.

Regardless, I'm leaving the post up for anyone else who didn't know about this asset type and might want to take advantage of it.

more ▼

answered Nov 23 '16 at 08:37 AM

avatar image

TorQueMoD
1.2k 86 116 146

(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