Hime Custom Use Conditions help - Switch conditioned item.

Panda_Artist

Humble RPG Fan
Veteran
Joined
Dec 22, 2018
Messages
373
Reaction score
28
First Language
Portuguese
Primarily Uses
RMVXA
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!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
36,311
Reaction score
9,705
First Language
German
Primarily Uses
RMMV
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.
 

Panda_Artist

Humble RPG Fan
Veteran
Joined
Dec 22, 2018
Messages
373
Reaction score
28
First Language
Portuguese
Primarily Uses
RMVXA
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...
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
36,311
Reaction score
9,705
First Language
German
Primarily Uses
RMMV
that is because your code is nonsense.
try
s[12]==true

(not tested)
 

Panda_Artist

Humble RPG Fan
Veteran
Joined
Dec 22, 2018
Messages
373
Reaction score
28
First Language
Portuguese
Primarily Uses
RMVXA
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 !! :D

Thank you for this! I greatly appreciate it!
 

Latest Threads

Latest Profile Posts

Messed up the chains... :kaoback:
Sw7U8dA.jpg

Character: Jeanne D'Arc from Fate/Apocrypha.
Neptrone wrote on Andar's profile.
Hello Andar, i just saw you created a lot of helpful thread in the past regarding RPG, genre, game design, etc, etc.

Do you have full collection or list about every useful thread that you made in the past ? I think it would be very useful for me.


Thanks :)
I-G-M-C, I-G-M-C!
To be honest, I had no idea what this was until now haha. But it looks fun, so my main game is on hold for a month while I participate! :yhappy:
Going live for tonight's Rise of the Third Power! Twitch

Forum statistics

Threads
123,245
Messages
1,155,202
Members
161,631
Latest member
OscarNuWar
Top