HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

stupid game caches

05-11-2004, 11:39 PM#1
Drake Eternal
ok, im have a MAJOR prob with the game caches

i've reviewed the triggers over, and over, and over but i cant seem to find the prob:


im posotive

Trigger1:
Code:
 Events: not needed, i know this 1 works
 
Conditions: NONE
 
Actions: store p1 as one of map in p1_cache
remove p1 
save last createdc game cache


Trigger2:

Code:
 Events: not needed i know this1 works 
 
Conditions: none
 
Actions: remove p1
 restore one of map in p1_cache
set p1 = last restored unit
05-11-2004, 11:41 PM#2
Vexorian
Are you initializing the game cache?
05-12-2004, 12:33 AM#3
Drake Eternal
Quote:
Originally Posted by Lord Vexorian
Are you initializing the game cache?

do u mean this?

Trigger:
Code:
 Events Map Initialization
 
Condition:NONE
 
Action: Creat Game Cache from blahblah.w3v
set p1_cache = last created game cache 
05-12-2004, 01:50 AM#4
Shimrra
I'm not usre if this is the problem, but try running the trigger 1 second after the game starts. I.e: Time Elapsed = 1 second
05-12-2004, 10:28 AM#5
Drake Eternal
here can u jus take the map and try to fix it?
05-12-2004, 07:54 PM#6
Shimrra
OK, I fixed it and it works. I don't think that you can use it on Battle.net, however. To the best of my knowledge, Game Cache doesn't work there. As for this map, you had too many If\Than\Else's... There is an easier way, which I used. I set it upto work for saving in slot 1 for any Player. You can just alter the necesarry parts to make it compatable for the other slots.

I created new triggers (disabling te originals) for the revamp. You triggers are still there so you can compare the two.
05-12-2004, 08:01 PM#7
Drake Eternal
thnks alot! bt 1 question.

do i have to copy the if/then/elses for each slot?
05-12-2004, 08:16 PM#8
Shimrra
Copy them, once for each slot. After that, just change the values of the Button_Clicked Array and of the integer array to suite the slot and everything will work properly.
05-12-2004, 08:29 PM#9
Drake Eternal
k, thnks, i jus tested it, and u were 1/2 right about the game caches....

it will work within the same game, but not if u change it.... is there a way to use the weird code save/load thing without the user typing the code?

do u get what i mean
05-12-2004, 08:33 PM#10
Shimrra
If you are referring to the the Battle.net save\load system, then I can't really help you. Unfortuantely, I'm not experienced in much that is exclusive to Battle.net as I've never been that fond of it... Sorry I can't help more.
05-12-2004, 08:50 PM#11
Drake Eternal
thats ok, maybe i can find some1 else who can show me how to use it, thnx anyway :D
05-12-2004, 10:41 PM#12
Vexorian
Game cache does work in bnet you just can't save the game cache file.