HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Game cache

09-18-2003, 07:01 PM#1
DarKNeSS~87
I have to save heroes' skills, objects and exp. points.
I tried to use the Game Cache, but with no results.
Can someone explain me how to do it?








P.S:I'm Italian, and not perfect at English.
09-18-2003, 07:41 PM#2
Krakou
You nead only to save your hero to the game cache and all his items, stats and levels will be saved.

For saving do this:
-------- Create The Game Cache --------
Game Cache - Create a game cache from NameofCache.w3v
Set GameCache = (Last created game cache)
--> GameCache is a variable of type game cache

-------- Save Hero --------
Game Cache - Store Heros as Amazon of Amazon in GameCache
--> Heros is a variable of type unit.

-------- Save The Game Cache --------
Game Cache - Save GameCache


For restoring do this:
Game Cache - Restore Amazon of Amazon from GameCache for Player 1 at (Random point in Parking <gen>) facing 350.00
Set Heros = (Last restored unit)