I've tested making my bank object global and persistent throughout the life of the map, as well as a bank object local to the functions and doing BankLoad() every time. Both work, but since I can't find detailted documentation on how the internal file stream works, does anyone know if a global bank or a local bank with frequent Loads is more appropriate?
Think I just answered my own question. Since banks are linked to a specific player when opened, it'd probably be bad to have a global that's pointing at another player's bank or some goofy stuff like that.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've tested making my bank object global and persistent throughout the life of the map, as well as a bank object local to the functions and doing BankLoad() every time. Both work, but since I can't find detailted documentation on how the internal file stream works, does anyone know if a global bank or a local bank with frequent Loads is more appropriate?
@soulzek: Go
Think I just answered my own question. Since banks are linked to a specific player when opened, it'd probably be bad to have a global that's pointing at another player's bank or some goofy stuff like that.