Need some help fixing a critical bug

Post » Wed Sep 28, 2016 6:28 pm

Greetings all,



I'm currently working on a player home that can only be entered by using a spell to teleport to it.


The spell, when used, moves an xmarker called "XM1" to the player's current location.


Exiting the home then teleports the player to XM1, effectively bringing the player back to the world in the same spot they left.


Problem is, when the spell is used from inside the home, the player is teleported back inside whenever they try to exit.


This creates the problem of the player being trapped inside forever.



I'd like to remove the spell from the player when it is cast, and return it only when the player exits the home.


How can I do this? Any other ideas are also welcome.


Thanks

User avatar
Taylor Bakos
 
Posts: 3408
Joined: Mon Jan 15, 2007 12:05 am

Post » Wed Sep 28, 2016 5:07 pm

Does your spell have a script? Condition the code to ignore your player home cell/location.

User avatar
Paul Rice
 
Posts: 3430
Joined: Thu Jun 14, 2007 11:51 am


Return to V - Skyrim