kieranfoy Posted February 26, 2010 Posted February 26, 2010 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.
zprospero Posted February 26, 2010 Posted February 26, 2010 What you want to do is drop down an X-marker in that chamber,give it a custom Ref name like "spellChamberMarkerRef", and thenin the script you say: player.MoveTo spellChamberMarkerRefIt will load the new cell then and you'll appear by the X-marker. http://i816.photobucket.com/albums/zz84/zprospero/zpro.gif
kieranfoy Posted February 26, 2010 Author Posted February 26, 2010 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.
Argomirr Posted February 27, 2010 Posted February 27, 2010 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.
Recommended Posts