- Joined
- Apr 4, 2010
- Messages
- 286
I've reviewed several tutorials on the basics of the game cache (MAJOR thank you to Ralle and Mtlhead for that tutorial). My one outstanding question is about the best way to store quest information from map to map in a Rexxar-style campaign.
Here's what I want: When you jump from Map A to Map B, and open up your Quests panel, everything looks the same as it did when you were in Map A. If you complete a quest while in Map B, then jump back to Map A, that quest shows up in your Quests panel as being completed. In other words, I want your entire set of quests to be saved and loaded via the game cache every time you transition.
Looking at the different possible triggers, there obviously isn't a simple "Game Cache -- Store quests" or similar. The best I've been able to come up with is a long and clunky set of booleans tracking each separate quest and quest objective, all of which are saved and loaded individually in the game cache, and then individually checking all of those booleans and rebuilding the quests from scratch in the next map.
Is there a more elegant way to do this? Thanks in advance!
Here's what I want: When you jump from Map A to Map B, and open up your Quests panel, everything looks the same as it did when you were in Map A. If you complete a quest while in Map B, then jump back to Map A, that quest shows up in your Quests panel as being completed. In other words, I want your entire set of quests to be saved and loaded via the game cache every time you transition.
Looking at the different possible triggers, there obviously isn't a simple "Game Cache -- Store quests" or similar. The best I've been able to come up with is a long and clunky set of booleans tracking each separate quest and quest objective, all of which are saved and loaded individually in the game cache, and then individually checking all of those booleans and rebuilding the quests from scratch in the next map.
Is there a more elegant way to do this? Thanks in advance!