• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Help With Game Cache

Status
Not open for further replies.
Level 5
Joined
Sep 21, 2004
Messages
186
Hey guys,

I haven't done any warcrafting in a long time....but I got sick 9 days ago. So, I've been working on my campaign a little. How do I get game caches to work?
Here's what my triggers look like:

End of first level:
Code:
End Trigger
    Events
        Player - Player 1 (Red) types a chat message containing win as An exact match
    Conditions
    Actions
        Game Cache - Create a game cache from Sammy & Joey.w3v
        Game Cache - Store Child (Sammy) 0002 <gen> as Sammy of Map 1 - Flesh Golem in (Last created game cache)
        Game Cache - Save (Last created game cache)
        Game - Set the next level to Map 2 - Lost.w3x
        Game - Show custom campaign button 3
        Wait 2.00 seconds
        Game - Victory Player 1 (Red) (Show dialogs, Show scores)


Beginning of second level:
Code:
Initialization
    Events
        Map initialization
    Conditions
    Actions
        Game Cache - Create a game cache from Sammy & Joey.w3v
        Game Cache - Restore Sammy of Map 1 - Flesh Golem from (Last created game cache) for Player 1 (Red) at (Center of Starting Point <gen>) facing 45.00
        Set Sammy = (Last restored unit)

So my heroes name is Sammy, my campaign name is Sammy & Joey, the first map name is Map 1 - Flesh Golem, the second map name is Map 2 - Lost. I got the information to do this at http://www.elilz.com/searchres.php?searchq=cache&Search=Search

So, if someone can tell me why nothing happens at the beginning of the second level, I would greatly appreciate it.
 
Status
Not open for further replies.
Top