This problem wasn't actually the problem!

I’ve realized that this issue is something entirely different from what I thought it was, so go over here if you want to try and figure this out.

I just tried that, and it didn’t work.

from what i can tell you have a branch that checks if its a male or female and that is the beginning of your problem. now im assuming this is the script for both the man and woman. so when the two hit a baby is created and its spawned only from the woman and then the child variable is set. that makes sense and should work fine. the problem however is that the man never knows anything about this happening. so what your going to need to do is off the right after the spawning of the child have a cast to node and cast to the class that the male is. for the object in pin your going to take the other actor pin from the hit event and connect those two. then drag off the blue as (insert class here) pin from the cast node and say set child. then the man will have a reference to the child.

Are you able to post what you tried? Because what he said should help out

so instead of implementing what i said i took your script and rewrote it so make it more organized and simplified. see the pictures below and tell me what you think.

also if you want to tell the child who its parents are.

I put this little bit of code in.

231094-y-u-no-work.png

I even added an extra-long delay on the male’s side so that he’d have plenty of time to get the variable, but it still isn’t working.

dude even if the problem has changed dont completely erase the initial question. what people have posted here may have helped someone else in the future.