Creation
Actions
Bank - Preload and synchronize bank "BunkerDefense" for player 1
Bank - Open bank "BunkerDefense" for player 1
Variable - Set Player Banks[1] = (Last opened bank)
Bank - Preload and synchronize bank "BunkerDefense" for player 2
Bank - Open bank "BunkerDefense" for player 2
Variable - Set Player Banks[2] = (Last opened bank)
Bank - Preload and synchronize bank "BunkerDefense" for player 3
Bank - Open bank "BunkerDefense" for player 3
Variable - Set Player Banks[3] = (Last opened bank)
Bank - Preload and synchronize bank "BunkerDefense" for player 4
Bank - Open bank "BunkerDefense" for player 4
Variable - Set Player Banks[4] = (Last opened bank)
Save
Actions
Bank - Store integer Stored Points[Player] as MySection of section Banks: Keys.StorePoints in bank Player Banks[Player]
Bank - Save bank Player Banks[Player]
Load
Actions
Variable - Set Points[Player] = (Load Banks: Keys.StorePoints of section MySection from bank Player Banks[Player] as integer value)
The line, the action-definitions are in here, is the same as ingame so the creation loads first in the map and so on.
my problem is that i cant load value from it :/
Creation
Actions
Bank - Preload and synchronize bank "BunkerDefense" for player 1
Bank - Open bank "BunkerDefense" for player 1
Variable - Set Player Banks[1] = (Last opened bank)
Bank - Preload and synchronize bank "BunkerDefense" for player 2
Bank - Open bank "BunkerDefense" for player 2
Variable - Set Player Banks[2] = (Last opened bank)
Bank - Preload and synchronize bank "BunkerDefense" for player 3
Bank - Open bank "BunkerDefense" for player 3
Variable - Set Player Banks[3] = (Last opened bank)
Bank - Preload and synchronize bank "BunkerDefense" for player 4
Bank - Open bank "BunkerDefense" for player 4
Variable - Set Player Banks[4] = (Last opened bank)
Save
Actions
Bank - Store integer Stored Points[Player] as MySection of section Banks: Keys.StorePoints in bank Player Banks[Player]
Bank - Save bank Player Banks[Player]
Load
Actions
Variable - Set Points[Player] = (Load Banks: Keys.StorePoints of section MySection from bank Player Banks[Player] as integer value)
The line, the action-definitions are in here, is the same as ingame so the creation loads first in the map and so on.
Just changed a few things, i got the bank file working now, but i cant load anything out of it :&