I actually have it down, but its just going with 3 party members. Now I'm going to... set up a couple things to implement my 1 party member active thing.
I'll need an array for the party members I currently have. I think I just use an array that has the ID of the actors I want in my party. So for this example, lets say I have actors 2, 3, 4, and 5 in my party.
or should it be one less for each number? If i'm using
$game_party.remove_actor[x]
$game_party.add_actor[y]
where x is the previous party member and y would be the new actor in $parti, based on the index of my window... would it read 2 and add actor with ID 2? or 3? I still get confused, I know arrays are tricky and don't wanna get confused.
Okay, moving along. So I have that array, $parti, now then... I want it so I can cycle through the portraits of the potential party members. So i'll need to scroll somehow...
if I do a check on the index, or a case self.index, when 0: scroll left, when 2: scroll right, type thing...
*ponders ponders ponders*
Hmmm...
Well, lets see, when I open the window the cursor will be at index=1, and the sprite it will have selected will be the current party member. I need to make sure whenever I open the window, the current party member is in the middle... I can check that by...
$parti.each{|i|
if $game_party.actors[1].id = i
loc = $parti.index[i]
}
so now... variable "loc" should equal the index of $parti, so... if the current party member is the 3rd index... then the 2nd index will be on the left, and the 4th on the left, leaving the 1st index out of the scene for the time being...
This is a bit of a headache. i'm going to post my thoughts so far and see if you can help me scramble through this. Haha