0 votes
by (220 points)

So, I'm trying use the <<scrolldown>> macro posted by TheMadExile here: http://twinery.org/questions/11469/timed-macro-autoscroll-twine-2-sugarcube  in the :typedcomplete event for the Typed.js integration module.

I basically want the page to scroll down only when :typedcomplete fires.

This doesn't work, but I essentially want to be able to do something like this:

$(document).on(':typedcomplete', function () {

So is this possible or am I going to have to find another way to do this?

1 Answer

0 votes
by (63.1k points)
selected by
Best answer

You can run macros (and any other TwineScript) with the jQuery wiki() methods. In your case, all you need to do is: 



by (220 points)
Works like a charm! Thank you so much!