Hi I needed help figuring out how to have an event check for multiple different items. In this case I have the character needing to have three different items, a sword, a rune, and 500gp. Is there a way to have an event check for these items and if you don't have any of them it would tell you what you're missing?
Getting help with this would be greatly appreciated! Thank you.
I tried that, but when I got the items in a different order it said I was missing the wrong things.
Then you should post screenshots of your event so we can see what's wrong. What does "got the items in a different order" mean?
I don't understand why you're repeating the whole thing twice, with the ingredient checks in a different order. If the party has all three ingredients, they would have passed the first set of conditionals - it's impossible for the code you have in pictures 5-8 to ever get executed.
1 - Get rid of all the extraneous code.
2 - The easiest way to keep track of else statements is to code them separately. So:
If you have the sword
-- Leave this all blank at first
Else
-- Type in the failure messages and whatever here
If you have the rune
-- Leave blank
Else
-- Type in your stuff
etc.
Then just cut and paste one entire conditional inside of the other. The only way you can see that message is if you don't actually have the items you think you do, or there's an error in your event logic. I'm not going to try to count how many indents in that Else branch is to see if it's in the right place, but you're making life harder on yourself than it needs to be.
P.S. Is there a reason you're typing/pasting a <WordWrap> tag into every single message instead of just setting it as a default? Seems inefficient.