Twine Forum
Discussions
Home
›
Help! with 2.0
Sign In
·
Register
Categories
Recent Discussions
Categories
4.9K
All Categories
1.2K
Help! with 1.x
333
Workshop
3K
Help! with 2.0
343
Chit-Chat
How do you change variables with (if:)
Buckeria
April 2017
in
Help! with 2.0
the (if:) statement forces a hook at the end. How do I change a variable with a hook?
Comments
TheMadExile
April 2017
Use the
(set:)
macro within the hook. For example:
(if: …)[(set: $variable to value)]
Forum Software Powered by Vanilla
Comments