HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help With Triggering the GameCache

08-20-2004, 05:24 PM#1
Xestar
I want to make it so that when my first map ends, my hero's are saved and when I start the second map, they are loaded with all the skills and items they had when they where saved. But for some reason it won't work. This is what i did :

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Level 1 Ends :
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++


[-]Events ( It is triggered by: Run trigger ignoring Conditions. )

[-]Conditions

[+]Actions
I
L GameCache - Create GameCache from MyCampaign1.w3v
GameCache - Store Hunter0013<gen> as Hero1 of Hero in (Last Created
GameCache)
GameCache - Store Rexxar0011<gen> as Hero2 of Hero in (Last Created
GameCache)
GameCache - Save ( Last Created GameCache)
GAME Set next Level to Maps**MyCampaign2.w3x
WAIT 2.00 Seconds
Game - Victory Player 1 RED Show Dialogs Show Scores


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Level 2 Starts :
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++


[+]Events
I
L Time - Elapsed Game Time is 0.01 Seconds

[-]Conditions

[+]Actions
I
L GameCache - Create a GameCache from MyCampaign1.w3v
GameCache - Restore Hero1 of Hero from (Last Created GameCache) at Center of Region 000 Facing Center of Region 001
GameCache - Restore Hero2 of Hero From ( Last Created GameCache) at Center of Region 001 Facing Center of Region 000


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I haven't got the slightest clue what could be wrong about this

If anyone else does, Please post it here

Thnx in advance ;)
08-20-2004, 06:33 PM#2
Azhag
Here view this game cache tutorial I posted. This isn't my tutorial, but it does the job. Here's the link.
Game Cache Tutorial
08-21-2004, 06:49 AM#3
Xestar
Thanks it's really helpfull

.. But... my units still won't appear on the Map.. I followed the Tutorial and checked everything twice, they just won't appear

Making me :

Could there be some other reason why they won't load ?