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

Successive crossings of the same passage

$
0
0
Hi, all !

I must keep track of the number of times the player has crossed a given passage, and trigger an event at a certain point. How can I do that? Increment a variable at every crossing? It seems that, when the passage loops on itself (a way to simulate a classic "for" loop) the variable is reset at every turn (it is first set in a "header" passage).

Thanks in advance.

Viewing all articles
Browse latest Browse all 1844

Trending Articles