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"

Endless Runner - child bp making call to parent bp, despite the call being deleted.

In the Endless Runner tutorial you create a Tile bp. In the Construction Script of Tile bp, there is scripting which randomly adds either a Blocker or Coins to the Tile bp as Child Components.

Later in the game, you create a Child bp called Corner_R, which is a Child bp, based on Tile bp. You don't want either Blockers or Coins to appear on the Corner_R bp. So, following the Video instructions, you simply delete the call to the Parent bp in the Construction Script.

Now when you compile the Corner_R bp, no Blockers or Coins should appear . This works in many earlier versions of UE4, (eg: 4.12 and 4.16). This does NOT work in latter versions (eg: 4.19.2 and 4.20.1) The Blockers and Coins still appear.

Tthis would seem to indicate that the Child bp is still somehow managing to call the Parent bp's Construction Script, despite that call having been deleted. What is even weirder, if I load a version of Endless Runner created in 4.12 into 4.20.1, it functions properly - no Blockers or Coins appear on Corner_R.

What's going on please ???

Product Version: UE 4.20
Tags:
more ▼

asked Aug 18 '18 at 07:51 AM in Using UE4

avatar image

EnigmaVar
1

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

1 answer: sort voted first

Did you not override the constructor in the corner r BP?

more ▼

answered Dec 11 '18 at 12:49 AM

avatar image

mightyenigma
3.6k 16 17 13

(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