It looks like you're new here. If you want to get involved, click one of these buttons!
(if: $party is "Carver")[ FENRIS: You are skilled. [[I know that much.->Carver Defends Hawke]] ] (else:)[ FENRIS: You are skilled. [[I know that much.->Fenris Apologises For Being An Arse]] ]
(set: $party to "Carver")in the beginning but whenever I reach the above point in the conversation I won't get to either passage I've linked to. The story just ends there, too, which it's not supposed to.
(if: $party is "Varric")[ HAWKE: I could stand to know a little more about this [[Danarius.->Fenris Tells About Danarius 2.0]] ] (else:)[ HAWKE: I could stand to know a little more about this [[Danarius.->Fenris Tells About Danarius]] ]]
(set: $party to "Varric")--it goes to "Fenris Tells About Danarius" immediately, then back to the dialogue choices.
Comments
Yeah, it looks fine to me. are you sure that you've selected harlowe?
I think I know exactly what the problem is. I didn't use an array so there was always only one party member there: the last one selected. I'll try the array thingy and report back about how it worked out.
Thanks for your help so far!
I have right in the first passage. When I ask the player if X is in their party and they click yes, the next passage has this or respectively this in it. But Twine still acts like neither of them is in the party.
When testing, the thing in the right bottom corner of the screen says $party --- an array and stays like this, even if I choose to take both, Varric and Carver.
Slight correction: the story format (Harlowe in this case) is responsible for executing your Passage's content, the Twine application is responsible for editing the Passage content.
Your post talks about comparing and output the content of an Array object but doesn't contain any code examples of these two activities, it is difficult to debug code and determine what is wrong with it without being able to see said code.
One comment technique used when trying to learn and debug new functionality is to place the relevant code within a single new passage, and then to view it to see what happens.
The following code tests adding values to an Array datatype, using the associated Array operators to determine if particular values are/aren't contained within it, and determine which methods of outputting a variable's value work.
All right, copy that.
And you know what? It's embarassing. The moment I saw the code example you posted I knew why it still didn't work. Party contains. I had is. [facepalm]
Thanks so much for your help, folks. It should work now. :-)