• 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.

game cache wtf >_<

Status
Not open for further replies.
Level 2
Joined
Jun 7, 2007
Messages
6
wtf is wrong here :sad: :

Map 1:
  • Inizializzazione partita Assalto
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unità - Create 1 Paladino for Giocatore (Rosso) at (Center of Regione 000 <gen>) facing Orientamento predefinito degli edifici degrees
      • Set AAA = (Last created unit)
      • Set BBB = (Proper name of AAA)
  • Trigger senza nome 001
    • Events
      • Unità - A unit enters Regione 001 <gen>
    • Conditions
    • Actions
      • Partita - Victory Giocatore (Rosso) (Mostra dialogs, Mostra scores)
  • Trigger senza nome 002
    • Events
      • Unità - A unit enters Regione 002 <gen>
    • Conditions
    • Actions
      • Game Cache - Create a game cache from MapName.w3v
      • Game Cache - Store AAA as AAA of Category in (Last created game cache)
      • Game Cache - Store BBB as BBB of Category in (Last created game cache)
      • Partita - Set the next level to Maps\Test\due.w3x
Map 2:
  • Inizializzazione partita Assalto
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Game Cache - Create a game cache from MapName.w3v
      • Game Cache - Restore AAA of Category from (Last created game cache) for Giocatore (Rosso) at (Center of (Playable map area)) facing 0.00
      • Missione - Display to (All players) the Missione Aggiornata message: (Load BBB of Category from (Last created game cache))
 
Level 2
Joined
Jun 10, 2007
Messages
27
I think your problem lies in the second map. You need to load the cache, not create another one.
 
Level 2
Joined
Jun 7, 2007
Messages
6
After 123213 hours, this work :smile:

Map 1:
  • Create Cache
    • Eventi
      • Map initialization
    • Condizioni
    • Azioni
      • -------- New hero --------
      • Unità - Create 1 Arthas (impugna Frostmourne) for Giocatore (Rosso) at (Center of Regione 000 <gen>) facing 0.00 degrees
      • Set Hero_1 = (Last created unit)
      • Unità - Create 1 Jaina for Giocatore (Rosso) at (Center of Regione 001 <gen>) facing 180.00 degrees
      • Set Hero_2 = (Last created unit)
      • -------- Create cache --------
      • Cache del gioco - Create a game cache from MyCampaignCache.w3v
      • Set MyCache = (Last created game cache)
  • Save All
    • Eventi
      • Giocatore - Giocatore (Rosso) types a chat message containing save as Corrispondenza esatta
    • Condizioni
    • Azioni
      • -------- Save heros --------
      • Cache del gioco - Store Hero_1 as Hero_1 of Heros in MyCache
      • Cache del gioco - Store Hero_2 as Hero_2 of Heros in MyCache
      • -------- Save gold --------
      • Set Gold = (Giocatore (Rosso) Oro attuale)
      • Cache del gioco - Store Gold as Gold of Resources in MyCache
      • -------- Save hero name --------
      • Set Hero_1_Name = (Name of Hero_1)
      • Cache del gioco - Store Hero_1_Name as Hero_1_Name of Heros in MyCache
      • Set Hero_2_Name = (Name of Hero_2)
      • Cache del gioco - Store Hero_2_Name as Hero_2_Name of Heros in MyCache
      • -------- Save cache --------
      • Cache del gioco - Save MyCache
      • -------- Set next level and load --------
      • Partita - Set the next level to Maps\Test\due.w3x
      • Partita - Victory Giocatore (Rosso) (Salta dialogs, Salta scores)
Map 2:
  • Load All
    • Eventi
      • Map initialization
    • Condizioni
    • Azioni
      • -------- Load cache --------
      • Cache del gioco - Create a game cache from MyCampaignCache.w3v
      • Set TutorialCache = (Last created game cache)
      • -------- Load Heros --------
      • Cache del gioco - Restore Hero_1 of Heros from TutorialCache for Giocatore (Rosso) at (Center of Regione 000 <gen>) facing 0.00
      • Cache del gioco - Restore Hero_2 of Heros from TutorialCache for Giocatore (Rosso) at (Center of Regione 001 <gen>) facing 180.00
      • -------- Load Hero Name --------
      • Set Hero_1_Name = (Load Hero_1_Name of Heros from TutorialCache)
      • Set Hero_2_Name = (Load Hero_2_Name of Heros from TutorialCache)
      • Partita - Display to (All players) for 30.00 seconds the text: (Hero_1_Name + ( + Hero_2_Name))
      • -------- Load gold --------
      • Set Gold = (Load Gold of Resources from TutorialCache)
      • Giocatore - Set Giocatore (Rosso) Oro attuale to Gold
 
Status
Not open for further replies.
Top