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

(Harlowe) Back to previous passage macro for my battle system

$
0
0
In my battle system, I want to create a boss that needs certain requirement (e.g. Strength) to be met before player is allowed to encounter him. If player does not meet such requirement, they will be given a warning pop-up box to say something like "your strength does not meet 150" then after clicking OK, the player is automatically taken back to the passage which they came from.
(if: $jobclass is $Berserker and $Strength < 150)[
          (set: $prompt to (confirm: "You do not have enough Strength (150) to face this opponent"))]
          (if: $prompt is true).......
]

(note: the "......." just means I don't know what to write after that)

I've read up on some of the replies from this post "https://twinery.org/forum/discussion/2910/back-or-return-in-harlowe" and did some more research on forum, but I do not seem to have found an answer to my problem.
If I want to be able to go to this passage which I called Passage "Sir. Oxóssi Mixcoatl", from Passage A, B, C & D, is there a macro which could determine which passage I came from and returns me to that passage automatically?

Attached is a picture of my story map, hope it helps clarify the problem a bit.

Thank you.

Viewing all articles
Browse latest Browse all 1844

Trending Articles