Returning to Freymore

This forum is for discussing anything related to The Quest editor.

Returning to Freymore

Postby Prickett » Sat Mar 10, 2018 6:52 pm

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.
Prickett
 
Posts: 648
Joined: Mon Jul 22, 2013 2:39 am
Location: Georgia, USA

Re: Returning to Freymore

Postby Catacomber » Sun Mar 11, 2018 4:50 am

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();
User avatar
Catacomber
 
Posts: 1657
Joined: Tue Oct 25, 2011 5:20 am

Re: Returning to Freymore

Postby Prickett » Sun Mar 11, 2018 3:42 pm

Thanks it worked! I got the idea from the teleport in HOL I.
Prickett
 
Posts: 648
Joined: Mon Jul 22, 2013 2:39 am
Location: Georgia, USA


Return to Editor

Who is online

Users browsing this forum: No registered users and 1 guest