Hi guys, so I’m kinda struggling with this task for my project. My goal here is to, after 5 collectibles are collected, my player is supposed to be teleported somewhere else. This is the login I’m using bellow and it doens’t work, so does anyone have any idea of something else I could do? Thank you very much.
Where is this code?
Do you have code that adds to the count?
The event doesn’t just happen out of the blue, it needs to be called/triggered by something.
You likey have a thing that keeps rack of the score. When changing the score, check the value, and when it equals 5 call your event, “Score is 5”. Thiis is just one possible way but whatever you do end up doing, you need to initiate that event somehow, it won’t fire by itself.
This also assumes your collectible-count is being updated as well as you have a check therein… ¬_¬