User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

twine1:tags [2017/10/09 20:39] (current)
Line 1: Line 1:
 +Has a value equal to an array containing the current passage'​s tags. The meaning of "​current passage"​ is the same as it is for passage(). Since this is a Javascript array, you will need to use built-in array functions to obtain values from it. Usually, you'd simply want to do something like this:
 +<<if tags().indexOf("​thunder"​) > -1>>\
 +Thunder is crackling above!
twine1/tags.txt ยท Last modified: 2017/10/09 20:39 (external edit)