I'm trying to use the typewriter effect from https://www.glorioustrainwrecks.com/node/5161
Apologies! A fatal problem has occurred. Aborting.
Error: Cannot read property 'title' of undefined.
I have no idea what went wrong.
On to your problem. That module, as is virtually everything story format related by Leon on Glorious Trainwrecks, is only compatible with the vanilla story formats.
Try this SugarCube v1 compatible version:
Here's a version of the SugarCube v1 compatible version with support for a startup delay. Tag syntax: Usage examples:
If you don't mind doing something stupid, I suppose you could add sequences of spaces wherever you wanted a pause—the more spaces you add, the longer the pause.
Regardless. It depends on what you mean. Are they rendered into the output? Yes, of course—which is what you want, since "typing" them out takes time, thus giving you your delay. Are they visible? No—they're still whitespace, so they don't make a visible impact within the output.
As an alternative, you could try the typed.js integration module—available on SugarCube's website—which acts as a wrapper for Typed.js, another typing effect library. It lets you control the typing effect on an individual text element basis, rather than a whole passage basis. Caveat: IIRC, it doesn't handle links or other interactive elements very well, however, if that's an acceptable tradeoff, then it does give you the ability you're looking for.
Either of the above should work in SugarCube 2—due to legacy features. There's also the typed.js integration module, I mentioned just above—though, again, it does come with a caveat.
That said, I suppose I could clean it up a bit more and provide a version specifically tailored to SugarCube 2.