Conditional branch "in inventory" custom script help

lucofthewind

Suikoden FanBoy
Veteran
Joined
Dec 11, 2012
Messages
213
Reaction score
17
First Language
English
Primarily Uses
Script in question:
EST - SUIKODEN RUNE
v3.1
https://www.rpgmakercentral.com/topic/12242-est-suikoden-rune/


Hello all, got a bit of a minor problem here that I hope you can help me with!

Currently I am using the above script for a suikoden like game, everything is working out great except for one small thing. When I try to use conditional branch, x rune is in inventory, include equipment, the branch isn't able to see if the rune is one the person or not. Is there any quick and easy way to fix this?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,108
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
Are you saying the script returns false when x rune is equipped and it shouldn't, or are you saying you want the script to tell you whether it's equipped or not?

The latter is not possible in a conditional branch - you would need an alternate check for <someone> having it equipped.

Also, do you have other scripts that add extra slots, and maybe the rune is in one of the extra slots? The script may not take additional slots into account. In that case, for a solution, you'd also need to provide a link to the script you're using for the extra slots.
 

lucofthewind

Suikoden FanBoy
Veteran
Joined
Dec 11, 2012
Messages
213
Reaction score
17
First Language
English
Primarily Uses
Last edited:

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
823
First Language
Hungarian
Primarily Uses
RMVXA
According to that rune script, the runes themselves are considered as equipment, and are added to the equips method of Game_Actor, which means that the conditional branch you use should be able to detect them. Unless, of course, you have a compatibility issue with some other script(s), in which case we need to know what other script(s) are you using in your project.
 

lucofthewind

Suikoden FanBoy
Veteran
Joined
Dec 11, 2012
Messages
213
Reaction score
17
First Language
English
Primarily Uses
So after some more testing (and drinking and cursing) and found the damnest bug.

If another fire rune (using the picture example above) is bought and attached to a character, the event works just fine. For what ever reason this one rune (it's given to the player and its the same id and everything, not two different fire runes) given and one time only just doesn't seem to work o_O
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,038
Messages
1,018,467
Members
137,821
Latest member
Capterson
Top