- Joined
- Aug 14, 2006
- Messages
- 7,602
Hey.
I created a quick save / load system for a map that I wanted to use in my campaign. It worked in the map, but not in the campaign. Perhaps you know how to fix it for the campaign?
Rep and credits for the helpers.
I created a quick save / load system for a map that I wanted to use in my campaign. It worked in the map, but not in the campaign. Perhaps you know how to fix it for the campaign?
-
save
-
Events
- Player - Player 1 (Red) types a chat message containing 1 as An exact match
- Conditions
-
Actions
- Game - Display to (All players) the text: Game Saved
- Game - Delete the autosave saved-game folder
- Custom script: call SaveGame("autosave/file.w3z")
-
Events
-
load
-
Events
- Player - Player 1 (Red) types a chat message containing 2 as An exact match
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (The autosave/file.w3z saved-game exists) Equal to True
-
Then - Actions
- Game - Display to (All players) the text: Loading Game ...
- Game - Load autosave/file.w3z (Skip scores)
-
Else - Actions
- Game - Display to (All players) the text: No autosave file fo...
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
Rep and credits for the helpers.