G
Gamma
Guest
I have been working all day on developing a data storage system that is constantly being added to.
Basically I want to create a system that would store the players party/team while being added to,
I tried using methods like this on a loop:
exists[n] = 0{
//create data then loop
PN[n] = PC_Manager.name
PTNL[n] = 20
PLV[n] = PC_Manager.LV
PS[n] = PC_Manager.S
PHP[n] = PC_Manager.HP
PMHP[n] = PC_Manager.MHP
PATK[n] = PC_Manager.ATK
PDEF[n] = PC_Manager.DEF
alarm_set(0,1)
} else {
n += 1
}
but whenever I run this it crashes and says its not in an array, whats going wrong, and/or is there an easier way to do this?
Basically I want to create a system that would store the players party/team while being added to,
I tried using methods like this on a loop:
exists[n] = 0{
//create data then loop
PN[n] = PC_Manager.name
PTNL[n] = 20
PLV[n] = PC_Manager.LV
PS[n] = PC_Manager.S
PHP[n] = PC_Manager.HP
PMHP[n] = PC_Manager.MHP
PATK[n] = PC_Manager.ATK
PDEF[n] = PC_Manager.DEF
alarm_set(0,1)
} else {
n += 1
}
but whenever I run this it crashes and says its not in an array, whats going wrong, and/or is there an easier way to do this?