using "this" in clone descriptions #1436
Unanswered
Talonsaurn
asked this question in
Creating games with Quest
Replies: 2 comments
-
Hello, It looks like you're using https://docs.textadventures.co.uk/quest/text_processor.html#support-for-this |
Beta Was this translation helpful? Give feedback.
0 replies
-
That reminded me of where to look, and gave me some inspiration to use something new, setting a variable to a script so I could get both description and the variable treated locally in one command, it seems to work well, thank you.. now to give it a bigger test. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm just coming back to quest after a bit and so this question I might have asked before, It's with Clones.
I have designed a game where clones are generated, aliases set, random descriptions all set up using a prototype item then renaming it and then cloning it, Aliases come out fine but when I try to use descriptions things get troublesome. I want to refer to the current instance of course and after a silly dumb oversight(Having the code keep looking at the constantly changing prototype) I tried using this.(Whatever) set in the objects look, this apparently is ignored by the code and i just get this.eyecolor when I use the {this.eyecolor} when setting through a script.
Beta Was this translation helpful? Give feedback.
All reactions