Jump to content

Teleport Script


kungfubellydancer

Recommended Posts

I was making a teleport script, that when applied to an amulet, it should teleport the player to a certain interior upon equip. However, when I tested it, it teleports me to exterior 0, 0. What am I doing wrong?

 

Begin kfbd_witchamuletscript

 

short OnPCEquip

 

if ( OnPCEquip == 1 )

Player->PositionCell, 4094, 3921, 14767, 0 "witch's shack"

endif

set OnPCEquip to 0

 

End kfbd_witchamuletscript

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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