Game Cache

Curo

Why am I still playing this game...?
Reaction score
109
Did a search of the tutorial repository using the word "cache"; nothing appropriate came up.

If you understand nothing of my post, seeing as I am terrible at explaining, please focus on the bolded statement.

I'm looking for some sort of a guide to how game caches work, in particular, storing units in them. For example, I need to know things like if I save a unit, then restore it at a later time (for my uses, I would be using restore to revive the unit), would the unit's abilities cooldown statuses be the same? If I save the unit to the cache, add an ability, then restore the unit at a later time, would the unit have that ability? If not, is it safe to overwrite the unit as it is stored in the cache. I am going to constantly be changing a unit, and I basically want it to be revived after death, retaining any abilities I have added to it via a trigger. Also, how does the "replace" function fit into all this, or does it at all? A quick overview of what exactly replacing does would be nice.
 
Lmao you hooker, coulda just said that in game! Ty...

This concerns me though: "Remember that Game Caches can not be used on Battle Net"
 
Yes, that's correct, they can only be used single player.

I think you could do what you are intending to do with triggers, however, and not using game caches.
 
I know gamecache's work in multiplayer.

They just get deleted when the game ends.

Well that works for me, thanks.

[del]And as per your request...if I assign a variable to a unit, then replace that unit, will the new unit take on the variable, or do I need to reassign it?[/del] Likewise, if I assign a unit to a variable, save the unit to a cache, then restore the unit, will the restored unit retain the variable or do I need to reassign it? I answered the first question, I assume that I'll have to reassign the variable in the second instance, but still not sure.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top