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"

Master Level Blueprint?

Is it possible to have a single, master level blueprint that all levels use?

I have 10 levels. All the level blueprints are almost identical, only slight differences. Making changes is a pain because I have to copy the change, open each level, paste in the changes, and save. A single, master level blueprint would streamline my workflow.

Product Version: UE 4.19
Tags:
more ▼

asked Mar 28 '18 at 08:26 PM in Blueprint Scripting

avatar image

kevinaboyette
16 5 8 11

avatar image Mosel3y Mar 28 '18 at 08:58 PM

You should create a Blueprint actor that you place in each level. Put what you need in it's BeginPlay event. Then add public variables for anything you need to change per-instance. You may find you actually don't need use the Level Blueprint so much for a lot of things once you learn more about blueprints

avatar image kevinaboyette Mar 28 '18 at 09:15 PM

Thanks! I'll give that a try.

avatar image kevinaboyette Mar 29 '18 at 09:47 AM

This worked. Thanks again.

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

1 answer: sort voted first

There is something like that and called GameMode class. GameMode class should contain common logic for entire game or rether game mode as name suggests. It should control all the game rules.

You seem to not have idea bout how UE4 gameplay framework works: https://docs.unrealengine.com/en-us/Gameplay/Framework

more ▼

answered Mar 29 '18 at 06:52 PM

avatar image

Shadowriver
36.6k 932 169 1111

avatar image kevinaboyette Mar 29 '18 at 07:33 PM

I'm looking into this, as well. Thanks!

(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