Hime Custom Use Conditions help - Switch conditioned item.

Good Morning / Day / Afternoon / Evening everyone.

I am in need of your assistance once again.


I am using this scirpt to make sure my "Tent" item is only usable if certain conditions are met like a save point or the world map...

with the formula option I believe it's possible to make the items' usage dependant on the switch of my choice... even has it's own letter "s" to work with in the formula... But I haven't been able to do it yet.

Is there any way we can achieve this?

Any help is appreciated!
please show us a screenshot of the formula for the switch you tried, and we can tell you where you went wrong.

but there are too many possible causes to tell you what you might have done wrong without that info, because yes the formula should do that very easily.
28.05.2022_20.39.37_REC.png


Sorry about that.

I used a similar formula to game.map to allow certain items to be allowed on certain maps... but this one does not seem to work...
that is because your code is nonsense.
try
s[12]==true

(not tested)
It works perfectly... Thank you so much for this. In retrospect I really ought to learn more how to do these complex formulas myself... I know there is no shame in asking for help but sometimes I feel like a pest !! 😀

Thank you for this! I greatly appreciate it!

Original thread: https://forums.rpgmakerweb.com/threads/hime-custom-use-conditions-help-switch-conditioned-item.148002/