Jump to content

How to disable teleport?


kuyondo

Recommended Posts

You can try delableteleporting/enableteleporting, but it may conflict with other mods using the same commands and it would not work with people using Melian teleportation mod. A better way would be, until your quest condition is done, force move back the player to the cell from a global script e.g.

begin getBackScript

if (MenuMode )
 return
endif

if ( myQuestDone ) ; global short variable set to 1 when quest is done and player can go out of cell
 stopscript GetBackScript
 return
endif

if ( GetPCCell "my Cell Name" )
 return ; player is already in the cell
endif
 
Player->PositionCell 1000 1000 100 "my Cell Name" ; change coordinates/cell name as needed

end
Link to comment
Share on other sites

hey abot thanks for that neat script, i will keep that in mind. im trying to enable teleportation from magas volar, but i cant seem to find the appropriate script for it. do you have any clue? is it hardcoded?

Edited by oxaryequinox
Link to comment
Share on other sites

  • Recently Browsing   0 members

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