TwoHeadedBoy
New Member
- Reaction score
- 6
I've been experimenting with the campaigns and the game cache. Im making a test campaign that takes a hero (RPG style) from one area to the other (outside and a cave).
Im having troubles with clearing the game cache. I seem to be using the function "Game Cache - Clear Game Cache" incorrectly.
The loading of the character from area to area is working fine.
The problem is that I cannot start the campaign over, even if I quit Warcraft III. It keeps loading the game cache from before. Right now my triggers are something like this
Map 1:
Trigger:
E -Map initialization
C - none
A - Create Cache and all that jazz
- If Boolean - Game Cache contains (blah blah blach) THEN restore unit ELSE create unit
- Clear cache
Map 2:
Trigger:
E - Map initial
C -
A - create cache and all that jazz
- Restore unit
- Clear cache
The first map is the map that you start at and the second is the cave (which doesnt have a button assigned to it).
The problem is when i start a new campaign it loads the hero from the other campaign that I did. (YOU WONT GET THIS THE FIRST TIME YOU PLAY, because naturally, you dont have the cache, but start over, and you will have your previous hero)
If any of that didnt make any sense ill attach the map.
If you have any other questions ill do my best to answer them.
Im having troubles with clearing the game cache. I seem to be using the function "Game Cache - Clear Game Cache" incorrectly.
The loading of the character from area to area is working fine.
The problem is that I cannot start the campaign over, even if I quit Warcraft III. It keeps loading the game cache from before. Right now my triggers are something like this
Map 1:
Trigger:
E -Map initialization
C - none
A - Create Cache and all that jazz
- If Boolean - Game Cache contains (blah blah blach) THEN restore unit ELSE create unit
- Clear cache
Map 2:
Trigger:
E - Map initial
C -
A - create cache and all that jazz
- Restore unit
- Clear cache
The first map is the map that you start at and the second is the cave (which doesnt have a button assigned to it).
The problem is when i start a new campaign it loads the hero from the other campaign that I did. (YOU WONT GET THIS THE FIRST TIME YOU PLAY, because naturally, you dont have the cache, but start over, and you will have your previous hero)
If any of that didnt make any sense ill attach the map.
If you have any other questions ill do my best to answer them.