- Joined
- Feb 8, 2014
- Messages
- 575
- Reaction score
- 344
- First Language
- English
- Primarily Uses
- RMVXA
Hello. I'm using Tsukihime's Choice Options, as well as a ton of other scripts that are almost certainly unrelated, as none of them that I know of affect the Show Choice option. Well, except for Tsukihime's Large Choices, but I assume they made these scripts compatible... Anyway! The script itself works fine, but it seems either it's missing a feature, or I'm simply doing it incorrectly. Take a look at this:
You would think that this code would make it so that if either of these conditions is true, then choice 1 will be hidden. However, it seems that the script will only choose the latest hide_choice affecting a single choice, so you cannot have two. I then tried:
I thought this would work as the statement is only one hide_choice. It seems logical to me, anyway. But, somehow, this ALSO results in only the second conditional being adhered to... I know it is not the syntax of the first conditional that is the issue, because if I remove the second conditional, the first one works every time.
So, my question is: Is there a way to do this? To have the option become hidden if either of these conditions are true?
Thanks for reading, and, as always, for any help you can give me. Have a nice day!
Ruby:
hide_choice(1, "$game_party.has_item?($data_items[76])")
hide_choice(1, "$game_switches[140] == true")
You would think that this code would make it so that if either of these conditions is true, then choice 1 will be hidden. However, it seems that the script will only choose the latest hide_choice affecting a single choice, so you cannot have two. I then tried:
Ruby:
hide_choice(1, "$game_party.has_item?(
$data_items[76])" || "$game_switches[140] == true")
I thought this would work as the statement is only one hide_choice. It seems logical to me, anyway. But, somehow, this ALSO results in only the second conditional being adhered to... I know it is not the syntax of the first conditional that is the issue, because if I remove the second conditional, the first one works every time.
So, my question is: Is there a way to do this? To have the option become hidden if either of these conditions are true?
Thanks for reading, and, as always, for any help you can give me. Have a nice day!