O
OriginalGrim
Guest
I want to make it so that the characters status will be displayed in they'er own boxes in the inventory screen and when a character joins the group they will automatically be placed in the lowest number slot closest to the top this is the general idea I had to accomplish this.
Then I want to make it so that if I press E while on the character slot it will highlight the character and then if I press E on another character it will swap their placement as well as making it so that Cinv will reset to zero when it goes over the number of characters currently in the inventory screen, I fell like Cinv may not even be needed at all (was going to use it in a switch event).
I'm new to programming so I don't know if I'm thinking of this properly or if there is a better way to do this I'm trying to do it kind of like in the game tales of symphonia.
Code:
//create
Cinv = 0;
Cslot[0] = noone;
Cslot[1] = noone;
Cslot[2] = noone;
Cslot[3] = noone;
Cslot[4] = noone;
Cslot[5] = noone;
character[0] = Name;
character[1] = Name;
character[2] = Name;
character[3] = Name;
character[4] = Name;
character[5] = Name;
PartyN(N is name) = false
//step
if PartyN = true {
Cslot{index?] = character[0]
(find the lowest number available and place character into it)
}
// I'm not sure if an array can even equal another array
if Cslot[Number] = character[Number] {
display that characters status on slot in inventory (draw events I know how to do)
}
I'm new to programming so I don't know if I'm thinking of this properly or if there is a better way to do this I'm trying to do it kind of like in the game tales of symphonia.