Help! Variable Issue

jamssi

Warper
Member
Joined
Jan 29, 2020
Messages
2
Reaction score
0
First Language
Finnish
Primarily Uses
RMVXA
Pardon me if this is in wrong place, I am new here xD

Variable.PNG
I am trying to make variable check. First the script get number of item ID 1 and sets it as variable.

Conditional.PNG
Then conditional branch checks it.

Error.PNG
But it ends like this in test.

What's gone wrong here? Thank you in advance!
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
12,605
Reaction score
12,924
First Language
English
Primarily Uses
RMVXA
There should be a command under game data to directly get the number of items when you assign the variables. I'd use that instead.
 

jamssi

Warper
Member
Joined
Jan 29, 2020
Messages
2
Reaction score
0
First Language
Finnish
Primarily Uses
RMVXA
Simple is the answer! Thank you, I feel so stupid.
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
1,142
Reaction score
373
First Language
Dutch
Primarily Uses
RMMV
also, the script you used is for MV, not for VXA which use probably $gmae_Party or $game_party. something else behind :) Make sure you take the correct scriptcalls for the correct engine :D
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,484
Reaction score
12,027
First Language
English
Primarily Uses
RMMV
For Ace, your script call should be $game_party.item_number($data_items[1])
 

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

Latest Threads

Latest Posts

Latest Profile Posts

You know, I sometimes ponder if working on the story and details is more necessary than the game itself. Its... technically work, just not direct.

Like for me specifically I never stop evolving the story based on what avenues I can approach in gameplay and then I get anxious thinking "hey good thing I thought about that now instead of later". Repeat ad nauseam.
World Of Final Fantasy Livestream~!
(Ft. Kaliga)
So my office building has 8 individually rented offices in it; 3 of which are social workers and 2 are marriage therapists... Unsurprisingly it always sound very angry out there. Glad I have my own private entrance. :LZSexcite: :thumbsup-right:
I wonder if there's ever been an art challenge that involves drawing faces from the generator.

Forum statistics

Threads
94,370
Messages
920,384
Members
124,141
Latest member
xuneyy
Top