- Joined
- Jul 13, 2008
- Messages
- 109
Hi, i have this HUGE problem with my GameCache.. currently my campaign has Prologue, CHapter 1, Bonus stage, and chapter 2... so far my GameCache has worked for Prologue to Chapter 1, and Chapter 1 to Bonus. But for some reason bonus to chapter 2, the hero doesnt load at all, EVERYTHING else does, resources and boxes for holding extra items, but the hero himself doesnt load..
Here's the trigger i have been using for all maps so far. only difference is the save file name...
Here's the trigger i have been using for all maps so far. only difference is the save file name...
-
Save Things
-
Events
- Unit - A unit owned by Player 1 (Red) Dies
- Conditions
-
Actions
- Wait 1.00 seconds
- -------- === CREATE GAME CACHE === --------
- Game Cache - Create a game cache from Kratos_B1.w3v
- Set GameCache = (Last created game cache)
- -------- Save Heroes --------
- Game Cache - Store AAAKratos as Kratos_Unit_B1 of Kratos_Save_B1 in GameCache
- -------- Save Boxes --------
- Game Cache - Store AAABox1 as Kratos_Box1_B1 of Kratos_Save_B1 in GameCache
- Game Cache - Store AAABox2 as Kratos_Box2_B1 of Kratos_Save_B1 in GameCache
- -------- Save Gold/Wood --------
- Set Kratos_Gold = (Player 1 (Red) Current gold)
- Game Cache - Store Kratos_Gold as Kratos_Gald_B1 of Kratos_Resources_B1 in GameCache
- Set Kratos_Wood = (Player 1 (Red) Current lumber)
- Game Cache - Store Kratos_Wood as Kratos_Wood_B1 of Kratos_Resources_B1 in GameCache
- Set Kratos_Food = (Player 1 (Red) Food used)
- Game Cache - Store Kratos_Food as Kratos_Food_B1 of Kratos_Resources_B1 in GameCache
- -------- Save Game Cache --------
- Game Cache - Save GameCache
- Wait 1.00 seconds
- Game - Show custom campaign button 4
- Game - Set the next level to Kratos' Campaign Chapter Two.w3m
- Game - Victory Player 1 (Red) (Skip dialogs, Skip scores)
-
Events
-
Load Things
-
Events
- Map initialization
- Conditions
-
Actions
- -------- === LOAD GAME CACHE === --------
- Game Cache - Create a game cache from Kratos_B1.w3v
- Set GameCache = (Last created game cache)
- -------- LOAD HEROES --------
- Game Cache - Restore Kratos_Unit_B1 of Kratos_Save_B1 from GameCache for Player 1 (Red) at (Center of Kratos Begin <gen>) facing (Center of Kratos Begin <gen>)
- Set AAAKratos = (Last created unit)
- -------- LOAD BOXES --------
- Game Cache - Restore Kratos_Box1_B1 of Kratos_Save_B1 from GameCache for Player 1 (Red) at (Center of Box 2 <gen>) facing (Center of Box 2 <gen>)
- Set AAABox1 = (Last restored unit)
- Game Cache - Restore Kratos_Box2_B1 of Kratos_Save_B1 from GameCache for Player 1 (Red) at (Center of Box 1 <gen>) facing (Center of Box 1 <gen>)
- Set AAABox2 = (Last restored unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Hero level of AAAKratos) Equal to 11
- (Hero level of AAAKratos) Equal to 12
- (Hero level of AAAKratos) Equal to 13
- (Hero level of AAAKratos) Equal to 14
- (Hero level of AAAKratos) Equal to 15
- (Hero level of AAAKratos) Equal to 16
- (Hero level of AAAKratos) Equal to 17
- (Hero level of AAAKratos) Equal to 18
- (Hero level of AAAKratos) Equal to 19
- (Hero level of AAAKratos) Equal to 20
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Unit - Set level of Spell Revenge for AAAKratos to 2
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Hero level of AAAKratos) Equal to 21
- (Hero level of AAAKratos) Equal to 22
- (Hero level of AAAKratos) Equal to 23
- (Hero level of AAAKratos) Equal to 24
- (Hero level of AAAKratos) Equal to 25
- (Hero level of AAAKratos) Equal to 26
- (Hero level of AAAKratos) Equal to 27
- (Hero level of AAAKratos) Equal to 28
- (Hero level of AAAKratos) Equal to 29
- (Hero level of AAAKratos) Equal to 30
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Unit - Set level of Spell Revenge for AAAKratos to 3
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Hero level of (Last restored unit)) Equal to 31
- (Hero level of (Last restored unit)) Equal to 32
- (Hero level of (Last restored unit)) Equal to 33
- (Hero level of (Last restored unit)) Equal to 34
- (Hero level of (Last restored unit)) Equal to 35
- (Hero level of (Last restored unit)) Equal to 36
- (Hero level of (Last restored unit)) Equal to 37
- (Hero level of (Last restored unit)) Equal to 38
- (Hero level of (Last restored unit)) Equal to 39
- (Hero level of (Last restored unit)) Equal to 40
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Unit - Set level of Spell Revenge for (Last restored unit) to 4
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Hero level of (Last restored unit)) Equal to 41
- (Hero level of (Last restored unit)) Equal to 42
- (Hero level of (Last restored unit)) Equal to 43
- (Hero level of (Last restored unit)) Equal to 44
- (Hero level of (Last restored unit)) Equal to 45
- (Hero level of (Last restored unit)) Equal to 46
- (Hero level of (Last restored unit)) Equal to 47
- (Hero level of (Last restored unit)) Equal to 48
- (Hero level of (Last restored unit)) Equal to 49
- (Hero level of (Last restored unit)) Equal to 50
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Unit - Set level of Spell Revenge for (Last restored unit) to 5
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Hero level of (Last restored unit)) Equal to 51
- (Hero level of (Last restored unit)) Equal to 52
- (Hero level of (Last restored unit)) Equal to 53
- (Hero level of (Last restored unit)) Equal to 54
- (Hero level of (Last restored unit)) Equal to 55
- (Hero level of (Last restored unit)) Equal to 56
- (Hero level of (Last restored unit)) Equal to 57
- (Hero level of (Last restored unit)) Equal to 58
- (Hero level of (Last restored unit)) Equal to 59
- (Hero level of (Last restored unit)) Equal to 60
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Unit - Set level of Spell Revenge for (Last restored unit) to 6
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Hero level of (Last restored unit)) Equal to 61
- (Hero level of (Last restored unit)) Equal to 62
- (Hero level of (Last restored unit)) Equal to 63
- (Hero level of (Last restored unit)) Equal to 64
- (Hero level of (Last restored unit)) Equal to 65
- (Hero level of (Last restored unit)) Equal to 66
- (Hero level of (Last restored unit)) Equal to 67
- (Hero level of (Last restored unit)) Equal to 68
- (Hero level of (Last restored unit)) Equal to 69
- (Hero level of (Last restored unit)) Equal to 70
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Unit - Set level of Spell Revenge for (Last restored unit) to 7
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Hero level of (Last restored unit)) Equal to 71
- (Hero level of (Last restored unit)) Equal to 72
- (Hero level of (Last restored unit)) Equal to 73
- (Hero level of (Last restored unit)) Equal to 74
- (Hero level of (Last restored unit)) Equal to 75
- (Hero level of (Last restored unit)) Equal to 76
- (Hero level of (Last restored unit)) Equal to 77
- (Hero level of (Last restored unit)) Equal to 78
- (Hero level of (Last restored unit)) Equal to 79
- (Hero level of (Last restored unit)) Equal to 80
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Unit - Set level of Spell Revenge for (Last restored unit) to 8
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Hero level of (Last restored unit)) Equal to 81
- (Hero level of (Last restored unit)) Equal to 82
- (Hero level of (Last restored unit)) Equal to 83
- (Hero level of (Last restored unit)) Equal to 84
- (Hero level of (Last restored unit)) Equal to 85
- (Hero level of (Last restored unit)) Equal to 86
- (Hero level of (Last restored unit)) Equal to 87
- (Hero level of (Last restored unit)) Equal to 88
- (Hero level of (Last restored unit)) Equal to 89
- (Hero level of (Last restored unit)) Equal to 90
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Unit - Set level of Spell Revenge for (Last restored unit) to 9
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Hero level of (Last restored unit)) Equal to 91
- (Hero level of (Last restored unit)) Equal to 92
- (Hero level of (Last restored unit)) Equal to 93
- (Hero level of (Last restored unit)) Equal to 94
- (Hero level of (Last restored unit)) Equal to 95
- (Hero level of (Last restored unit)) Equal to 96
- (Hero level of (Last restored unit)) Equal to 97
- (Hero level of (Last restored unit)) Equal to 98
- (Hero level of (Last restored unit)) Equal to 99
- (Hero level of (Last restored unit)) Equal to 100
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Unit - Set level of Spell Revenge for (Last restored unit) to 10
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- -------- === LOAD RESOURCES === --------
- Player - Set Player 1 (Red) Current gold to (Load Kratos_Gald_B1 of Kratos_Resources_B1 from GameCache)
- Player - Set Player 1 (Red) Current lumber to (Load Kratos_Wood_B1 of Kratos_Resources_B1 from GameCache)
- Player - Set Player 1 (Red) Food used to (Load Kratos_Food_B1 of Kratos_Resources_B1 from GameCache)
- Set Kratos_Food = (Player 1 (Red) Food used)
-
Events