HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Game Cache Help, Please

01-25-2004, 10:12 PM#1
Cthulhu
I am trying to transfer a hero between maps (like the orc campaign in frozen throne), but i have a problem. I am trying to save an integer in the cache it is a variable value of (IsHeNew). When I start a map I want it to read that variable and if it is 1 do action, else do other action. I can set the variable fine, i can set up the condition fine but the game doesnt seem to realize that (IsHeNew = 1). How do i load a variable from the game cache? its category is Transition key, it's label is NewHero... any help would be much appreciated
01-26-2004, 12:50 AM#2
Ligature
Well, to load an integer into a variable all's you gotta do is action "Set Variable" and use function "Game Cache - Load Integer."

Is that what you were having trouble with?
01-26-2004, 12:55 AM#3
Cthulhu
Yes, thanx.

This forum is so wicked, the ppl in it are so nice
01-26-2004, 01:27 PM#4
Cari Kendt
Here is how it works.

Event- whatever you want to have trigger the saving

condition- if you need certain conditions met

actions- create game cache named (name of your map).w3v

save -unit- as -nameofunit- under -units- for last created game cache

save last created game cache