|Topic was automatically imported from the old Question2Answer platform.
I am going through the video tutorials from Gamesfromscratch. On the third video at 21:00 he had first written a script for a child, and now he writes a script for a grandparent. I have been unable to get this to work properly. After writing both of these scripts myself in the same order, only the child script runs, but I’ve found that if I delete the child node, the grandparent script will then run. If I create the child node again and attach a new script, now only the grandparent script will run. To run the scripts I am using “Play (F5)” as he does. Any ideas on what is happening?
I’ve found that I can get both scripts to run by reparenting after I’ve written the scripts.
I wonder what you mean by “run” but what you describe should work fine. Do you get any errors? Which steps are you following exactly? Do you have an example project in which you get the problem so we can look at it?
Zylann | 2018-06-22 17:29