Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | ThreeSpark |
In short, I am using add_child() to add a child node when a timer goes off. When it is clicked on, I want one of its variables to change. There are going to be multiple of this node, and I don’t want to change that variable in all of them. How could I go about doing this?
Check out this tutorial.
skrx | 2018-11-07 09:24
Actually, I should have been more specific - I want the child’s variable (health) to subtract the parent’s variable (damage) but the child node is spawned after the game starts
ThreeSpark | 2018-11-07 14:36