Login
Remember
Register
Twine Q&A
Questions
Unanswered
Tags
Users
Ask a Question
Code of Conduct
Ask a Question
how do i use a javascript string in a passage?
–4
votes
asked
Sep 12, 2017
by
vivinoether
(
90
points)
closed
Sep 12, 2017
by
vivinoether
this feels like a simple question, but i haven't found an answer. i have a javascript code that creates strings and i would like to use those in my passages as text. is there some way to do that? thanks :)
closed with the note:
figured it out!
javascript
twine2
0
Answers
This site has been placed in read-only mode. Please use the
Interactive Fiction Community Forum
instead.
Related questions
How do I flatten a string?
How do I make a non-looping gif play in every passage it appears in?
how to change a javascript variable in harlowe.
I want to check what letter a certain string (player name) starts with
Does anyone know anything about accessing a form submission with JavaScript within a passage?
Most popular tags
twine2
sugarcube2-21
sugarcube2
twine2-2-1
harlowe2-0-1
harlowe2-1-0
harlowe
sugarcube2-18
javascript
css
twine2-1-3
sugarcube
variable
variables
macro
twine
links
twine1
if
sugarcube2-28-2
harlowe2
audio
html
array
image
snowman
passages
passage
savegame
inventory
music
arrays
saves
link
time
sugarcube2-25-0
textbox
harlowe1-2-4
error
text
array-objects
set
images
2
question
sugarcube-2
code
color
sugarcube2-27
tweego
datamaps
history
background
sugarcube-2-28-2
sugarcube-2-21-0
ui-bar
sidebar
sugarcube2-25
choices
autosave
jquery
button
publish-to-file
widgets
typed
random
import
transition
loop
twine2-3-1
harlowe2-2-1
replace-macro
choice
objects
tags
harlowe3-0-2
for-macro
rpg
saving
stats
effects
save
stylesheet
click-macro
twine-2
user-input
animation
header
questions
format
object
0
ui
script
error-message
sugarcube2-21-0
sugarcube2-24-0
loadgame
twine2-2-0
adventures
...