A demonstration of how to do elevation tricks in the LoG2 map editor: stairs connecting different elevations and an elevator.
Permissions and credits
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features without permission from or credit to me
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission or crediting me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou must get permission to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
This map shows how to use setWorldPositionY to create effects such as staircases and elevators. The trick involves the way that LoG's falling code uses an object's physical y coordinate to determine what it lands on, but uses the map coordinate of the platform to decide the new map coordinate of the falling object. You can use this to make the player 'fall up' when walking up the staircase, allowing them to reach higher elevations. Similarly, if you move a platform underneath the player (e.g. an elevator) then that can be used to adjust their map coordinate as well (though you need to be careful about the party falling through a rising platform here).
There are still a few unpolished bits with this technique - specifically, stepping up onto the stairs can look particularly jerky, and the elevation of attacks made sideways off of the staircase can be confusing to the player.