Jump to content
Sign in to follow this  
Docta Chav

Unlockable Fast Travel Locations

Recommended Posts

I am planning on including a train-like travel system in my game.

The plan is that you can travel to any unlocked train station from any other train station. As I have 10 towns that can be unlocked in any order it is not very easy to do this through switches and conditional branches. 

If it is possible I would like a script that allows the stations to offer options that have been unlocked (through switches) and then allow travel to these stations.

 

For example, a quest in town A may unlock travel to town B. After completing this quest and visiting the train station you would get the option: Travel to town B. Clicking on this would transport you to the station in town B.

Another quest in town A may unlock travel to town C. If this quest was completed before unlocking town B then visiting the station in town A would offer: Travel to town C; but if town B was also unlocked then the options would be: Travel to town B, Travel to town C.

 

Thanks a lot in advance.

 

P.S. Sorry if this request isn't very clear I'm very tired at the moment.  :)

Share this post


Link to post
Share on other sites

You can use Choice Options to attach conditions to your choices.

http://himeworks.wordpress.com/2013/03/06/choice-options/

 

You can hide choices if certain conditions are not met, such as a switch being OFF

 

Simple set up: use a script call to hide the second choice when switch 1 is OFF

 

choiceOptionsEx3.jpg

 

So when you talk to the NPC, there wouldn't be an "enter" option

 

choiceOptionsEx1.jpg

 

Until the switch is ON.

 

choiceOptionsEx2.jpg

Share this post


Link to post
Share on other sites

Thanks to both of you. Moghunter's script is nice but I think I would prefer a simpler layout if that exists. Tsukihime, that looks like a possibility but I've not had a chance to try it yet. Would it be compatible with a script that allows more than 4 choices?

Share this post


Link to post
Share on other sites

I have only tested it with Large Choices and it works there. Don't know about others.

 

The choice numbers are still just the order they are specified, so if you had 3 choices for the first set and 4 choices for the second set, they would still be numbered

 

1

2

3

4

5

6

7

 

As you would expect

Edited by Tsukihime

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×