whiteswords12

Villager
Member
Joined
Sep 18, 2022
Messages
26
Reaction score
2
First Language
English
Primarily Uses
RMMZ
Im having some issues with the gacha summoning. While I can make a number to get a random character, the character picture doesn't open and if I have them already, they dont level up past lvl 2. I have no idea what I did wrong. Any suggestions?
1689395487299.png
 

AquaEcho

Script Kitty
Regular
Joined
Sep 20, 2021
Messages
2,267
Reaction score
1,702
First Language
English
Primarily Uses
RMMV
Under your first line you should check if Gale is in the party, add 1 to his level. Else add him to the party.
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
12,738
Reaction score
11,335
First Language
English
Primarily Uses
RMMV
For future reference, don't crop down screenshots. Everything in the event editor window can affect how the event works, so when you crop it off we don't have the information we need to give fully informed advice.
 

whiteswords12

Villager
Member
Joined
Sep 18, 2022
Messages
26
Reaction score
2
First Language
English
Primarily Uses
RMMZ
1689406816380.png
Sorry about that Im working with secret stuff but here we go. I fixed how the picture wasnt showing but now I only have the level wont go up past level 2
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
12,738
Reaction score
11,335
First Language
English
Primarily Uses
RMMV
Sorry about that Im working with secret stuff
No one is going to steal your grand ideas.

I fixed how the picture wasnt showing but now I only have the level wont go up past level 2
I don't see anything that would stop them from leveling past 2, but the logical error that @AquaEcho pointed out is still wrong.

You're adding them to the party then checking if they're in the party...that will always be true.
 

rpgLord69

Regular
Regular
Joined
Oct 23, 2021
Messages
688
Reaction score
906
First Language
Finnish
Primarily Uses
RMMZ
It's not going past level 2, because you're initializing them (to level 1) before adding a level. You can take out the 'else' branches from the 'beginner gatcha' conditionals and then order the events like this (like noted above):

If: Beginner Gatcha = 1
Show Animation
....If: Gale is in the party
....Change Level: Gale + 1
....Else:
....Change Party Member: Add Gale (initialize)

If: Beginner Gatcha = 2
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,943
Reaction score
11,884
First Language
German
Primarily Uses
RMMV
but here we go.
even that is NOT the full screenshot @ATT_Turan was requesting.
An event is more than its content - and you still cut away its properties like how the event is triggered and so on.
Because the trigger may cause the event to repeat, and as said above you are removing the level every time the actor is initialized.

Initialize is neccessary on first adding the actor, but it should never be repeated after that.
 

Latest Threads

Latest Profile Posts

Well, I've officially filed a complaint against my coworker.
Legit almost killed me twice today.
First time, he was holding a freaking knife straight out and walking down a hallway. I rounded a corner and barely missed it.
Second time, he "handed"(dropped) me a bucket of water while I was trying to adjust the broaster. Not exactly sure what would happen, but water and boiling oil usually don't go well together.
if a lot of the games that inspire me to continue making games have a pretty mixed to somewhat negative critical reception, what does that say about the games I make? :kaoeh:
Hey Y’all! Here’s Day #8! Another round of applause for @hiddenone my hero yesterday. Kind of still flipping between too hot and too cold, but friends, we’re hydrated.
My boss asked I bring my laptop to work so he could see my game. I show my coworkers, show them some database stuff, and then my boss asks "so can I fight this final boss you've talked about a lot?" :kaojoy:
Finally started working on my first game, let's see where this gets me :)

Forum statistics

Threads
136,858
Messages
1,270,770
Members
180,621
Latest member
LupineDev
Top