KAIROU'S PROFILE

Search

Filter

[RMVX] Party Formation or Character Memorization

Hmm.... With that function and the original event commands, the player character does NOT return to the front of the caterpillar. The idea is to memorize the party, remove the Player Character, then re-add the exact same party formation. I had it that I manually remove the Player after memorizing the party, then add him and recall

I have a theory that maybe the Character select script was the problem, it's a utility that is supposed allows the player to change the members of the party from a reserve of "unlocked" members. Essentially, it's Prof. Oak's lab. I thought that maybe the variables were getting messed up. Are there actual in game variables that your functions are using that I should reserve? I'm not entirely sure.

Anyway, with that theory in mind I created a simple event-based "would you like me to join your party" type thing. I made 1 for one of my test monsters and removed it from the starting party. Now I run a test where the game opens with the player character and 2 monsters. I quickly tested the menu and it totally screwed up, adding a third monster party member seemingly at random. It looks like your functions depend on there being exactly 4 Actors in the party?

[RMVX] Party Formation or Character Memorization

I think I confused you. As originally explained, the game is monster collection. The player acquires an army of monsters and can only take 3 of them with him on adventures. These are Actors with different Classes that will make them "monsters." It has NOTHING to do with the Database Enemies.

Think how in pokemon games you are a single human but when you check the menu the player sees their pokemon party. And when they switch back, they only see the human trainer.

Your (merrand) original scripts worked fine, but only with 1 single party of the player and 3 monsters (again, Actors not Enemies) but when I tested changing up the party it went completely crazy.

[RMVX] Party Formation or Character Memorization

I am having trouble getting the scripts to actually copy from this page and into RMVX. For some reason only your last one can be copied directly from here and into RMVX. The other two.... can't be? So I pasted them into Word and then from there into RMVX, but the formatting gets all screwed up. I tried to manually fix it but the Event Script Caller thing doesn't allow for scripts longer than so many lines it seems.

Am I doing something wrong?


EDIT: Never mind I figured it out. Sorry, this is the most scripting I've dealt with aside from editing a few basic ones. What was not clear to me was to put those 3 function into a script itself and then use the Event script thing to call those separate functions. IT TOTALLY WORKS!!!! Thank you so much, Merrand. I'm gonna name a something after you.

EDIT2: I am experiencing some weirdness. I did a test where the Player starts off with 3 monsters and then puts 1 away (in like a PC box if you will) but now whenever I call the menu i see the 2 characters and not the Player, as I should, but when I close the menu another random Actor is added to seemingly fill the gap. And after that, every single time I open and close the menu the part gets weirdly shuffled around.

EDIT3: I think the issue is it saves 4 Actor IDs in 4 variables and then if there are only 3 actors in the party (player plus 2 monsters) then it only overwrites 3 variables but the "recall" function still calls 4 variables? Maybe? So the variables in question should be wiped after each time the menu is called and closed?

[RMVX] Party Formation or Character Memorization

Anyone else have any ideas?

[RMVX] Party Formation or Character Memorization

If I add Actor #1 to party after the menu close and then do that script, Actor #1 is still at the back of the caterpillar. If I do NOT Actor #1 back in the party, he does not show up at all... So technically the script does nothing.

[RMVX] Party Formation or Character Memorization

author=Deltree
I see what's going on! I think "Party Members" is just a count of how many people are in the party. You'll need to set a variable for each slot, like this. It also removes them after they've been stored (one at a time since I didn't see a "Remove All" button), and I have a window open showing where the data is held under Change Variable.



Then, when you're ready to restore your party, you'd remove the monsters and then use something like this:

$game_party.add_actor($game_variables[1])

$game_party.add_actor($game_variables[2])
$game_party.add_actor($game_variables[3])
$game_party.add_actor($game_variables[4])


That will push the members back in order, so the first one you add can be your leader. Hope that does it!


That's not at all what my Variable edit dialogue box looks like. I guess you're using Ace?

author=Trihan
Try this instead.

$game_party.members.unshift($data_actors[1])

That should insert actor 1 at the beginning of the party, no need to remove anyone.


Nope :/ I was really hoping a simple command like that would exist.

[RMVX] Party Formation or Character Memorization

I'll try this later tonight. I really, really wish there was a "Remove all" function because the game could have 99 heroes in it.

[RMVX] Party Formation or Character Memorization



The line where it removes "Buzzy" is a palceholder, because obviously Buzzy will not always be in the party. Ideally a something that removes the entire party should go there.

EDIT: The part where it re-adds Hiro probably shouldn't be there either.

[RMVX] Party Formation or Character Memorization

The script doesn't seem to do anything, but I am not getting an error either.

[RMVX] Party Formation or Character Memorization

Right, that was the plan. BUT there will be dozens of actors the player can have in of their team. I need a way for the game to memorize what actors at currently in the party and then only re-add those actors.
Pages: first 123 next last