I have a complicated highly triggered map in my campaign. The player fights through 10 stages, and I would like to make it so that when they fail at a stage, it reloads automatically to the point start of that stage.
I considered pausing the game and forcing them to save manually, but then I discovered the Save Game and Load Game actions I've never used. I decided to play with them to see if it could solve my problem. I created this trigger:
3
2
1
loading screen (when the game saves and reloads to this point)
4
5
loading screen
4
5
loading screen
4
5
loading screen
4
5
And so on.
Instead, what I saw was:
3
2
1
(loading screen)
Then nothing. The "4" and "5" never appeared. My map has a lot of repeating triggers. I don't know what would happen if the game saved, reloaded, and some of the triggers stopped working midway through.
Does anyone know how this works? Also, does it work in campaigns?
I considered pausing the game and forcing them to save manually, but then I discovered the Save Game and Load Game actions I've never used. I decided to play with them to see if it could solve my problem. I created this trigger:
-
Melee Initialization
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Wait 2.00 game-time seconds
-
Game - Display to (All players) the text: 3
-
Wait 2.00 game-time seconds
-
Game - Display to (All players) the text: 2
-
Wait 2.00 game-time seconds
-
Game - Display to (All players) the text: 1
-
Wait 2.00 game-time seconds
-
Game - Save game as TEST1.w3z and load TEST1.w3z (Skip scores)
-
Wait 2.00 game-time seconds
-
Game - Display to (All players) the text: 4
-
Wait 2.00 game-time seconds
-
Game - Display to (All players) the text: 5
-
Wait 2.00 game-time seconds
-
Game - Load TEST1.w3z (Skip scores)
-
-
3
2
1
loading screen (when the game saves and reloads to this point)
4
5
loading screen
4
5
loading screen
4
5
loading screen
4
5
And so on.
Instead, what I saw was:
3
2
1
(loading screen)
Then nothing. The "4" and "5" never appeared. My map has a lot of repeating triggers. I don't know what would happen if the game saved, reloaded, and some of the triggers stopped working midway through.
Does anyone know how this works? Also, does it work in campaigns?