Chapter Two not restoring Hero

lachferagh

Active Member
Reaction score
0
Hi guys, I'm currently creating a campaign and I've already the first map and started on the second map. But I just wanted to make sure I was doing it right in restoring the Hero from the first map into the second map. However it's not showing up. I'll post my triggers in hopes you guys can spot what I'm missing or did wrong.

ChapterOne (Triggers)
TRIGGER TITLE (Identify Hero)
Events
Map initialization
Actions
Set Hero_1 = Halanil 0000 <gen>
Trigger - Run Game Cache <gen> (checking conditions)

TRIGGER TITLE (Game Cache)
Actions
Game Cache - Create a game cache from GreinzerstraumRebellion.w3v

TRIGGER TITLE (Save Hero)
Actions
Game Cache - Create a game cache from GreinzerstraumRebellion.w3v
Game Cache - Store Hero_1 as Halanil of Chapter1 in (Last created game cache)
Game Cache - Save (Last created game cache)

TRIGGER TITLE (Victory and end cinematic)
*Here I'll just post the end of the triggers as before this is all cinematic triggers*
Actions
Game - Show custom campaign button 2
Game - Set the next level to ChapterTwo.w3x
Trigger - Run Save Hero <gen> (checking conditions)
Wait 1.00 seconds
Game - Victory Player 1 (Red) (Show dialogs, Show scores)

ChapterTwo (Triggers)

TRIGGER TITLE (Initialization)
Events
Map initialization
Actions
Trigger - Run Game Cache <gen> (checking conditions)

TRIGGER TITLE (Game Cache)
Actions
Game Cache - Create a game cache from GreinzerstraumRebellion.w3v
Trigger - Run Load Hero <gen> (checking conditions)

TRIGGER TITLE (Load Hero)
Actions
Game Cache - Restore Hero_1 of Chapter1 from (Last created game cache) for Player 1 (Red) at (Center of Restored <gen>) facing 0.00
Set Hero_1 = (Last restored unit)
If (Hero_1 Not equal to No unit) then do (Skip remaining actions) else do (Do nothing)
Unit - Create 1 Halanil for Player 1 (Red) at (Center of Not restored <gen>) facing Default building facing degrees
Set Hero_1 = (Last created unit)
Hero - Set Hero_1 Hero-level to 3, Hide level-up graphics
Hero - Learn skill for Hero_1: Human Paladin - Devotion Aura

So in the beginning of Chapter Two, what I'm getting is the newly created Hero instead of my restored unit. From the triggers, was there somewhere I messed up? Or something I'm missing?
 

HellfireJin

Member
Reaction score
3
there is an action under Game Cache, that states "reload all game data from disk". you need to insert this action before the action to restore your unit. also I see that you have no spaces in your game cache title. that is good, I ran into the problem of my units not even showing up because of that reason. it's a tricky trial and error when it comes to game cache. like i stated earlier: make sure you insert the action to reload all game data first, then after use the action to restore your unit wherever you need it to be.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top