Jump to content

Teleportation Spell Script


kieranfoy

Recommended Posts

Hi. I've been searching for a custom teleportation spell tutorial for the upcoming LotR mod Rise of Sauron, that's easy to understand, but so far found only one tutorial, and it's nigh on incomprehensible to the layman.

 

Simply put, how can I make a scripted enchantment that teleports the player to the cell 1orcspellchamber? Nothing lse fancy, just that.

 

Thanks for reading,

 

K.

Link to comment
Share on other sites

What you want to do is drop down an X-marker in that chamber,

give it a custom Ref name like "spellChamberMarkerRef", and then

in the script you say:

 

player.MoveTo spellChamberMarkerRef

It will load the new cell then and you'll appear by the X-marker.

 

http://i816.photobucket.com/albums/zz84/zprospero/zpro.gif

Link to comment
Share on other sites

Ah, thank you so much. it works like a charm. And it's simple, too. Wonder why the tutorials don't use that method/

 

Anyway, the test fortress is going great (not to get offtopic), got the exterior mostly done, and made an orc camp for your personal army. Very fun stuff.

 

Also added L33 in as the blacksmith, and you and me'll be there, too.

Link to comment
Share on other sites

Keep in mind that only using MoveTo will not suffice. If the player casts the spell while in the Shivering Isles, certain variables and stages will not be set properly, causing quests and dialogue to break.

 

Just take a look at the SI doorway script to see what needs to be set.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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