Jump to content

Prevent Load Door while spell active / Detect Load Door use


Recommended Posts

 

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...