Evangela Posted April 4, 2018 Share Posted April 4, 2018 (edited) Edit: Nevermind. :D Edited April 4, 2018 by Rasikko Link to comment Share on other sites More sharing options...
mmdestiny Posted April 5, 2018 Author Share Posted April 5, 2018 The issue, if I understand correctly, is that once the spell ends it calls TranslateTo with the original location coordinates obtained when the spell started. Which is fine if you're still in the same cell but poses problems if you're in a different cell (like falling through the ground or floor).Yeah, that's a bad idea.Instead, OP should put a marker at the original location, then moveTo the player to it. I place a marker and use TranslateToRef (deleting the ref after). I've never had any issues with falling through the floor or anything, but if you cross a load door, it tries to translate you to the absolute coordinates, which no longer "exist."MoveTo and SetPosition don't work because they force a load, even if you only move like 3 feet lol. Anyways I've gotten everything working with the original suggestion of "OnPlayerTeleport" simply disabling the translate. Link to comment Share on other sites More sharing options...
pra Posted April 5, 2018 Share Posted April 5, 2018 Ah, I see. I thought you were storing the 3 coordinates, and then used them to setPos the player. Link to comment Share on other sites More sharing options...
mmdestiny Posted April 8, 2018 Author Share Posted April 8, 2018 If you're interested, this was the final product. There's a video at the top of the description.https://www.nexusmods.com/fallout4/mods/30993 Link to comment Share on other sites More sharing options...
Recommended Posts