• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Need help on Game Caches

Status
Not open for further replies.
Level 6
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 :p) 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
 
Status
Not open for further replies.
Top