Page 1 of 1

Returning to Freymore

PostPosted: Sat Mar 10, 2018 6:52 pm
by Prickett
How can I link a teleport back to Freymore? I tried setting the target as bres_matras, because bres_ seemed like the ID for everything in the base game.

Re: Returning to Freymore

PostPosted: Sun Mar 11, 2018 4:50 am
by Catacomber
You have to do it through code on the teleporter.

The ususal script to get back to Mithria is by ship---

player.movebyship("expback","expback");

I've never tried doing it by teleporter. I did try various ways in a test file just now but couldn't get anything to happen without that script.

So you could put some dialogue on the ground near the teleporter --a message that this teleporter can take you to a ship to Mithria or something like that.

on the teleporter it would be script--

if (evtstepon())
player.movebyship("expback","expback");
else
default();

Re: Returning to Freymore

PostPosted: Sun Mar 11, 2018 3:42 pm
by Prickett
Thanks it worked! I got the idea from the teleport in HOL I.