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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Why does a disconnected "Parent: Construction Script" run anyway?

I'm following the Endless Runner tutorial for my first project (https://www.youtube.com/watch?v=E8D3TMvrYiM). That tutorial was written for 4.7 but I'm running 4.19

I'm creating the FloorTile_RightCorner component, which inherits from FloorTile. The instructor goes into the Construction Script and disconnects "Construction Script" from "Parent: Construction Script", and that causes the coins and blocker to stop spawning. When I disconnect those nodes in the FloorTile_RightCorner script, it seems that that has no effect, and the parent construction script still fires and spawns the coins and blockers.

alt text

However, if I manually connect the "Construction Script" node to ANYTHING else (for example "Execute Console Command" with no command string) then the blueprint seems to 'notice' that it's not connected to the Parent: Construction Script and correctly never spawns coins/blockers.

Of course, I don't want to have to run an empty command to prevent running the parent script. I thought simply disconnecting them would be enough. What's going on here? Why does the Parent: Construction Script fire despite not being connected in my Construction Script?

Thanks,

Devon

Product Version: UE 4.19
Tags:
more ▼

asked Jun 19 '18 at 03:33 AM in Blueprint Scripting

avatar image

Devon_Parsons
1

avatar image jusj01n Oct 11 '18 at 10:27 PM

have you found the answer to this? I have the same issue in 4.20

(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