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 parametrize a landscape paint layer inside a blueprint?


I've been playing around with making tools for editing landscape using blueprints, and I stumbled upon a problem that is rather annoying. The problem is that I can't figure out how to parametrize a landscape layer info. The info is used by an "Editor apply spline" function that modifies the landscape. There should be a way to at least specify the wanted layer by typing it as a string (similar to in the procedural foliage tool where you type in the layer name), otherwise I have to hardcode the layer or make some gigantic if else chain.

Edit: To add, the "promote to variable" button is greyed out.

Applying a spline to landscape proxy

Product Version: UE 4.8
applyspline.png (118.4 kB)
more ▼

asked Jul 16 '15 at 03:49 PM in Blueprint Scripting

avatar image

126 12 19 26

avatar image Speuzer Apr 02 '18 at 07:05 PM

Wow, no responses since 2015. Did you find a solution? I'm also looking to make this a variable.

avatar image PerfectGym VR Jul 25 '18 at 09:04 AM

Still not fixed. We need just a variable type come on epic wizards ;)

avatar image IlllIl Dec 09 '18 at 08:45 PM

Also having this issue as of right now, 4.20.

avatar image GSGPhoenix May 30 '19 at 09:09 PM

Unfortunately, this issue persists in 4.22. At my previous employer we were able to very quickly make a couple of functions to get an array of landscape layer names (given a landscape reference) and then to get a layer info reference by name to set as the Paint Layer. Probably not the most elegant solution but it was quick to implement.

It would be great to get an engine fix for this though because being able to paint on landscape with splines can be a real boon for editor tool development!

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

0 answers: sort voted first
Be the first one to answer this question
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