Page 1 of 1
How to teleport player with events in SMBX2?
Posted: Thu Mar 23, 2023 1:00 pm
by vladimirdog2021
How do I teleport the player to a section that I selected with events in SMBX2?
I tried, but the player doesn't get teleported to the section that I selected.
Is there a way to make this?

Re: How to teleport player with events in SMBX2?
Posted: Thu Mar 23, 2023 7:50 pm
by Emral
With events? Show a layer with an instant warp on the players position.
Re: How to teleport player with events in SMBX2?
Posted: Fri Mar 24, 2023 1:05 am
by vladimirdog2021
Emral wrote: ↑Thu Mar 23, 2023 7:50 pm
With events? Show a layer with an instant warp on the players position.
I created in everything and it teleported the player to the section I selected (with events only).
EDIT: For some reason, after I shown a layer with an instant warp on the player's position, the player gets teleported to the section I chose automatically. Is this a known bug? Is there a way to fix it?
Re: How to teleport player with events in SMBX2?
Posted: Fri Mar 24, 2023 7:14 am
by Emral
vladimirdog2021 wrote: ↑Fri Mar 24, 2023 1:05 am
Emral wrote: ↑Thu Mar 23, 2023 7:50 pm
With events? Show a layer with an instant warp on the players position.
I created in everything and it teleported the player to the section I selected (with events only).
EDIT: For some reason, after I shown a layer with an instant warp on the player's position, the player gets teleported to the section I chose automatically. Is this a known bug? Is there a way to fix it?
Bug? Instant warps instantly teleport a player standing on the warp's entrance to the warp's exit. What's the unexpected behaviour, here?
Re: How to teleport player with events in SMBX2?
Posted: Fri Mar 24, 2023 12:46 pm
by vladimirdog2021
Emral wrote: ↑Fri Mar 24, 2023 7:14 am
What's the unexpected behaviour, here?
I made the layer hidden and the player doesn't get teleported to the section I selected anymore.
Re: How to teleport player with events in SMBX2?
Posted: Fri Mar 24, 2023 1:06 pm
by deice
vladimirdog2021 wrote: ↑Fri Mar 24, 2023 12:46 pm
I made the layer hidden and the player doesn't get teleported to the section I selected anymore.
you're supposed to keep the layer hidden by default and then show it when you want the player to teleport. keep in mind though that if the player's movement is completely unrestricted they might just move out of the spot where the warp is and then they won't get teleported when you want them to.
Re: How to teleport player with events in SMBX2?
Posted: Sun Mar 26, 2023 10:10 am
by vladimirdog2021
deice wrote: ↑Fri Mar 24, 2023 1:06 pm
you're supposed to keep the layer hidden by default and then show it when you want the player to teleport. keep in mind though that if the player's movement is completely unrestricted they might just move out of the spot where the warp is and then they won't get teleported when you want them to.
I've used the layer (hidden) in a level and it works just fine.