So I have a respawn mechanic in my new platformer game so that when people fall to the ground they respawn. It uses the coordinate device and runs block code in the game overlay to see if they are at 0. Now, because they start at zero and don’t respawn while still in the tutorial, I have a zone that deactivates a trigger that leads to the respawn device.
However, even when I’m outside of that zone, I won’t respawn when I hit the ground.
The interesting thing is if I’m close to the respawn device, it works. But far away, it doesn’t.
I need to be about 110m close to the device according to a waypoint. When I get close enough (even though my height doesn’t change), I then respawn.
2 requests:
a) Are there any good workarounds?
b) I can’t email gimkit, so could somebody do that for me?
Thanks!
1 Like
I gotchu! :D
Also, could we see the blocks by any chance @here_to_help?
@Halloween_Coster why the x check?
@Here_to_help try less than or equal to. Or just use a zone that respawns. Also, check that there is a respawner at all! Sometimes I forget major devices.
2 Likes
I have a idea, in the block code make it so the players x has to greater than the end X Cord of the tortial
put then part in the If section of a If → do block
Broadcast on respawn!
Sorry about my Bad Grammer
1 Like
The first part is just for the game overlay saying how high you are.
The second part is the important part. “onground” triggers the trigger.
this is what I could come up with, not sure if it works tho
1 Like
Well that’s not going to help me, because it’s not the zone that’s my problem. It’s how far away I am.
I missed the post, this might not be memory efficient but try adding more respawn devices around where it is not respawning you at. this should just be a bug tho
2 Likes
Strange enough…
that didn’t work. Even when I got next to another respawn device.
It might have to do with distance from something else? Because it’s still doing the crazy thing where I have to get 110m from it.
I’ve tried. It still doesn’t work.
Hmmm…
Have you tried deleting it and then adding it again?
1 Like
I’ve done more debugging, and found out that when I’m far away the trigger isn’t broadcasting. More triggers?
Try that, and then tell us what happens.
1 Like
I solved my problem, and I feel so foolish for not thinking of it.
I was teleporting out of the zone, thinking that would register as “leaving” the zone. Well, apparently it doesn’t, so the trigger was just inactive.
Thanks everybody for trying to help me, I’ll like all of your posts for your generosity.
I solved my own problem but I’m not gonna mark myself as the solution so I’ll just close this.
Again, thanks everybody!
5 Likes