- Joined
- Dec 25, 2008
- Messages
- 110
I have the following load hero trigger which is called on the initialization trigger of my campaign chapters (from chapter 2 onwards).
And this trigger,which performs the save action in all chapters (except for the final chapter of course).
Problem is, when I load the data, the hero does not get restored... any one know why?
-
LoadData
- Events
- Conditions
-
Actions
- Game Cache - Reload all game cache data from disk
- Game Cache - Create a game cache from Campaign.w3v
- Game Cache - Restore CHero of Heroes from (Last created Game Cache) for Player 2 (Blue) at (Center of HeroAppears<gen>) facing 0.00
- Set CHero = (Last restored unit)
- Trigger - Turn off (This trigger)
And this trigger,which performs the save action in all chapters (except for the final chapter of course).
-
SaveData
- Events
- Conditions
-
Actions
- ------- Storage is the game cache used -------
- Game Cache - Store CHero as Heroes of Campaign.w3v in Storage
- Game Cache - Save Storage
- Trigger - Turn off (This trigger)
Problem is, when I load the data, the hero does not get restored... any one know why?