How to teleport player with events in SMBX2?

Need help with any SMBX game-related issues? Ask your questions here.
vladimirdog2021
Spiny
Spiny
Posts: 27
Joined: Wed Aug 17, 2022 5:13 am
Flair: SMBX Expert
Pronouns: he/him
Contact:

How to teleport player with events in SMBX2?

Postby vladimirdog2021 » Thu Mar 23, 2023 1:00 pm

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? :?

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9719
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: How to teleport player with events in SMBX2?

Postby Emral » Thu Mar 23, 2023 7:50 pm

With events? Show a layer with an instant warp on the players position.

vladimirdog2021
Spiny
Spiny
Posts: 27
Joined: Wed Aug 17, 2022 5:13 am
Flair: SMBX Expert
Pronouns: he/him
Contact:

Re: How to teleport player with events in SMBX2?

Postby vladimirdog2021 » 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?

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9719
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: How to teleport player with events in SMBX2?

Postby Emral » Fri Mar 24, 2023 7:14 am

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?

vladimirdog2021
Spiny
Spiny
Posts: 27
Joined: Wed Aug 17, 2022 5:13 am
Flair: SMBX Expert
Pronouns: he/him
Contact:

Re: How to teleport player with events in SMBX2?

Postby vladimirdog2021 » Fri Mar 24, 2023 12:46 pm

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.

deice
Volcano Lotus
Volcano Lotus
Posts: 544
Joined: Fri Jul 23, 2021 7:35 am

Re: How to teleport player with events in SMBX2?

Postby deice » Fri Mar 24, 2023 1:06 pm

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.

vladimirdog2021
Spiny
Spiny
Posts: 27
Joined: Wed Aug 17, 2022 5:13 am
Flair: SMBX Expert
Pronouns: he/him
Contact:

Re: How to teleport player with events in SMBX2?

Postby vladimirdog2021 » Sun Mar 26, 2023 10:10 am

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.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 0 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari