Quote
"You can't use variables for the bank name or the player number because variables aren't even initialized when that code is called" - http://www.galaxywiki.net/Banks
What does this mean exactly, I'm having a few problems with banks storing integers and texts. The bank can store Booleans just fine but cant seem to recall integers or texts. I have the Key and section matched perfectly or my triggers are just mixed up..
But i use a "for each integer" action to restore my banks as following
For each integer counter from 1 to 3 with increment 1, do (Actions)
General - If (Conditions) then do (Actions) else do (Actions)
If
(Load ("SaveState" + (String(counter))) of section "Boolean" from bank MoonShinesDat as boolean) == True
Then
Variable - Set GameTime Seconds[counter] = (Load "TotalTime" of section "Integer" from bank MoonSave[counter] as integer value)
Variable - Set Coinage[counter] = (Load "Coinage" of section "Integer" from bank MoonSave[counter] as integer value)
Variable - Set TotalXP[counter] = (Load "TotalXP" of section "Integer" from bank MoonSave[counter] as integer value)
Else
Where i have "MoonSave" as 3 different save files accordingly to if they exist in "MoonShinesDat"
Does it matter if my variable "Coinage" is the same as the "Coinage" key from my bank?
None.