I think its respawned, but out of screen.
Change that Vector2(25, 1000) with Vector2(25, 500). As I said early, change the position as you need.
thanks it glitched once than worked perfectly one question why does it spawn two of them and than runs into each other and both stop otherwise perfect thanks
and not to get off this pages topic of help but thanks there isn’t anyone in my life who will help me with my dream of becoming a game dev/programmer
You`re welcome.
This forum is a good place for taking help from the community.
Sorry but I did not understood on what you mean by that question, can you explain that what you wanted and what you got?
of course it spawns two npcs one first than another and they move oppostie than towards each other and bumps into each other than despawns and than after that the game works as intended
you see i am trying to get it to spawn a about 2.5 seconds after it appears and moves across the screen later im going add a dialogue box using label to have it say random statements after it gets hit
Oh then I think this is a problem in your ncp script, you can check it.
And if you want to respawn ncp after 2.5 secs, you can replace that 1.0 with it in the respawn function.
thanks once again and happy holidays
just wanted you to know i found the problem works perfectly thanks i wouldn’t of spotted it this quickly if you hadn’t told me which script to check