- Joined
- Aug 29, 2004
- Messages
- 159
Hi all, long time no see
I am currently making a game engine (for a project yet to be revealed ) where i need to be able to remove and restore units from the map.
Basically the player (1 player RPG) can have in excess of 400 heroes; however due to the ammount of creeps, npcs and destructibles etc not all of these can be on the map at the same time. Thus i have created the basics of a 'box' system (similar to pokemon for those who remember) to store/restore heroes.
After some experimentation with a very long, complicated string system (where all of the data about a hero was stored as one long string) instead i decided that Game Caches might be better.
Which bring me to the point:
Is it possible to store a unit in the game cache, 'remove' the hero from the map, and then restore the unit from the game cache upon trigger function, ALL IN THE SAME MAP?
And if so, how so?
Thankyou for all help, Bort
I am currently making a game engine (for a project yet to be revealed ) where i need to be able to remove and restore units from the map.
Basically the player (1 player RPG) can have in excess of 400 heroes; however due to the ammount of creeps, npcs and destructibles etc not all of these can be on the map at the same time. Thus i have created the basics of a 'box' system (similar to pokemon for those who remember) to store/restore heroes.
After some experimentation with a very long, complicated string system (where all of the data about a hero was stored as one long string) instead i decided that Game Caches might be better.
Which bring me to the point:
Is it possible to store a unit in the game cache, 'remove' the hero from the map, and then restore the unit from the game cache upon trigger function, ALL IN THE SAME MAP?
And if so, how so?
Thankyou for all help, Bort