Okay seriously last question.
I feel so bad for asking so many questions but this is the first time I ever took a project in twine so seriously <<if $Level >= 2>><<set $EnemyName to either("Strong...
View ArticleMake a variable appear in a link
Hey everyone. First off, I'm using Twine 2.1.1 with SugarCube 2.14.0 I've got a section in my StoryCaption passage where I want to have a popup link (I've already set the java and css for it, and they...
View ArticleDrag and drop bug, 2.1.1
I do not know where to post bugs. Apologies if this is the incorrect forum. Had a problem with the 2.1.1 web version. There is a bug with Firefox; drag and drop of the passages boxes is not working....
View ArticleBooleans as numeric values
Hi all, in twine, are the numeric values of "true" and "false" guaranteed to be 1 and 0 respectively? I know that in some other languages, you only know that "true" is nonzero. The reason I'm asking is...
View Article[SugarCube 2.12.1] Cleanest way to handle JavaScript intervals and window...
Hello again, I have run into a bug with my internal game loop, and while I've already come up with a couple of ways I could fix it, I'd still like some advice on the cleanest way to go about it. For...
View Articleiterate through an object sugarcube 2
I know how to iterate through arrays with for loops, but is it possible to do it with objects such as? <<set $char={ stats:{ health:{name:"health",val:90,max:100,min:0,type:0},...
View ArticleBack to last passage and random generation
Twine version 2.1.0 Sugarcube 2.21.1 I'm currently writing a Twine game for my University assignment but I've got a few obstacles I can't overcome. Within some of my passages, I've got descriptive...
View ArticleTime System
Using the below time system, how would I set the current hour to a specific hour without changing any other fields (days, years, months, etc.)? /* A method to change a date using intervals */ if (!...
View Article[Harlow 2.1.1] There is something wrong with the editing passage
So I was using Twine 2.0.0 until it stopped displaying colours. And then for some reason it wouldn't let me copy and paste through keyboard and instead I had to manually copy and paste with a mouse....
View ArticleAdding something dynamically to the current passage
Hi, everybody! How can I set up in the current passage a link (to another passage) that is created or becomes visible when a certain condition becomes true? A pseudo-code would look like: if $myvar...
View ArticleAnchor linking within a passage sugarcube2 and in general
I'm trying to do a back to the top link. I did manage to do it by saying [[Back to the top|first passage]]. However when I switched to another story format(protagonist) it didn't work. I'm wondering if...
View ArticleRandomized backgrounds per passage
Hello! I've been trying to add backgrounds to specific passages in a Harlowe Twine 2 project using javascript. It's fairy easy to show a random background image from a directory attached to <body...
View Article"While" loops
Hi, all! With Harlowe, how can I exit a "for" loop based on a certain condition, thus simulating a "while" loop? Thanks in advance.
View ArticleBackground Music in Harlowe
Hi all, I've made a few Twine fictions using Twine 2 (whatever the most recent is, it's all updated on my computer) and Harlowe 1.2.1. I am fairly dedicated to using Harlowe, since I do well with the...
View Articleusing font-face in Twine and exported HTML file
Hi everybody, I'm using font-face with multiple fonts, on Twine 2.1.0. The fonts are stored on a server and the link specified in CSS url is with an absolute path to this server. I'm absolutely sure it...
View ArticleFind and Replace not Replacing Anything
Hello, I'm a newbie using twine 2.0 with Harlowe version 1.2.3 (the default story format). I'm trying to use find and replace. Whether I try to say replace all or select a particular passage and choose...
View ArticleTwine (Sugarcube 2) has stopped creating new passages with new links. Is...
Basically, when I type standard links into a passage eg [[linkylinky]] and [[linky2]], twine sometimes will only creae one passage, and sometimes will create neither. If I manually create the passage,...
View ArticleStatement with "(If: $value1 is false OR $value2 is false)"
Hello everyone ! I'm completely new to Twine. I tried a first simple story, but then of course I wanted to complicate it a bit, and that's when everything went wrong Here's my problem : I created a...
View ArticleMoving passages around in the new version of Harlowe
As you may know, Harlow was recently updated with a new look. One side effect of this new look (for me, anyway), however, is being unable to move passages. I move passages around in my story to help...
View ArticleAdding onclick script to a link in a passage on Harlowe - getting syntax errors
Hi all, I am trying to add the below to a link in a passage on Harlowe. I either want the script to execute when that passage loads or when they click on a specific tag. I'm having trouble because I...
View Article