Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

Creating a Binary Decision from Several Options (then eliminating those options)

$
0
0
Finally been thrown for a loop on a problem. First post, but lurking for a few months.

The idea is this: I'd like for a player to visit a location and randomly see 2 people out of a possible 5. They can then choose which person to talk to, which takes them to separate passage for that conversation.

Next, I'd like to make the chosen person no longer show as an option at this location once their option has been chosen. I still want to have a choice and show 2 people out of the remaining options.


I've attempted creating a datamap that includes the possible passages, but Harlowe doesn't like that code. I've tried creating an array and using Either to assign a random number to a variable and then coding it to pump out a different location based on this, then... Well, it would get labor intensive. But, there's gotta be something aside from pages of repeated entries to solve this problem.

Thanks!
(Using Harlowe 1.2.3, Twine vers. 2.0.11)

Viewing all articles
Browse latest Browse all 1844

Trending Articles