Yay more questions! So I have a very basic code that looks like this:
self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
self.selectingLocation = true;
self waittill( "confirm_location", location, directionYaw );
self.selectingLocation = undefined;
But my problem is that on some maps, i.e. Invasion to name one, that the regular not-raised ground is too high and when I teleport I end up below the map.
I guess I'm looking for a general solution like changing the height for teleporting, (still making the player survive the fall). I don't really intend to teleport on top of buildings, but if there's a code already made that does it that's fine with me.