Teleport Player Command
Hey all, was requested to help another user with a Teleportation of the Player via commands, i.e., NPC conversations, or wherever commands are used, could even be on bosses death, etc, walking on a trap that drops you to a lower level, etc… This basically takes the logic from the Teleporter, and drops it into a command.
Pretty basic, but some newer M2D users are a bit hesitant to touch code, so this is a nice drop in.
Just put this file (TeleportPlayer.cs) in your Commands folder and you’re able to use it!
(Note this was not extensively play tested. I did test it with a Dialogue Command and a Box Collider Command Trigger + Player collision and it worked just fine)

💬 Comments (1)
Want to continue the conversation?