move from one extension to another

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

move from one extension to another

Postby ButterOil » Wed Oct 27, 2021 8:44 pm

Is it possible to move from one extension to another directly? without returning to Matras
User avatar
Posts: 3
Joined: Wed Oct 27, 2021 8:41 pm
Location: Россия, Самара

Re: move from one extension to another

Postby Elendil / Redshift » Fri Oct 29, 2021 9:16 am

Check the Sea Captains Verra (Matras) and Hanty (Mithria) in the base world (Freymore) with the editor.

You'll see that they have a special line "addobjecttolist("exppack3","exppack3");" (or with "exppack1") in their code to build their list of travel destinations. This line adds all installed expansions which are either high level ("exppack3") or low level ("exppack1") to their travel list. Then you can use the "player.movebyship(target,
"The ship takes you there.");" line to move to the selected destination. (With "target=getobjectlistresult();")

This is the only way. You must present the whole list to the player and travel to the destination they selected. There is no way to travel to a specific expansion directly.
User avatar
Elendil / Redshift
Site Admin
Posts: 887
Joined: Sun Oct 09, 2011 11:35 am

Return to Editor

Who is online

Users browsing this forum: No registered users and 1 guest