- Joined
- Sep 18, 2014
- Messages
- 58
- Reaction score
- 127
- First Language
- English
- Primarily Uses
In my game there is a situation where I want the game to check and see if there are multiple items in the player's inventory. However, more than checking for all the items, there's also something like an or branch in there. Diagrammed, it would go something like this:
Check for: Item 1 and check for Weapon 1 OR Weapon 2 OR Weapon 3 and check for Armor 1 OR Armor 2.
I could have sworn I'd seen an option to check for multiple switches/variables/items in one go, but I can't remember where it is and the event tutorials I've checked don't seem to mention anything about it. Furthermore, the presence of those ors/alternate items makes it a bit trickier than just a straightforward "check everything." What should I do?
EDIT: On a related note, I want the game to check for the items and, if the player is missing an item and has lower than a certain amount of gold, give the player the missing item(s). How would I do that?
Check for: Item 1 and check for Weapon 1 OR Weapon 2 OR Weapon 3 and check for Armor 1 OR Armor 2.
I could have sworn I'd seen an option to check for multiple switches/variables/items in one go, but I can't remember where it is and the event tutorials I've checked don't seem to mention anything about it. Furthermore, the presence of those ors/alternate items makes it a bit trickier than just a straightforward "check everything." What should I do?
EDIT: On a related note, I want the game to check for the items and, if the player is missing an item and has lower than a certain amount of gold, give the player the missing item(s). How would I do that?
Last edited by a moderator:

