Hi folks, I tried to replicate word for word and step by step a mini game based on Martian Mike however I’m getting an error when running the game. Error is Invalid get index ‘touched_player’ (on base: ‘AnimationPlayer’).
Just wondering what is all inside the traps node group in the scene?
at first glance, it sounds like, its going through all the nodes you have added under “traps” in the scene, and one of them doesnt have the “touched_player” signal to connect to.
I just checked the nodes in the Traps group of nodes and they’re all identical to the Martian Mike one. I also checked the node signals for each object on both projects, all the same, nothing connected as the lesson advises to remove all of that due to the for loop lesson.
I’m happy to provide additional screenshots where you may suggest.
FIGURED IT OUT! Yes I just had another look! I accidentally tagged an Animation Player node with the “traps” group. Removed it, solved. That wow… Once again
Thank you for your help
Edit: here’s the screenshot of what I had. Went in to Manage Groups and found the animation player was in there too by accident. Removed, solved.