Saving the game

Chewbalka

New Member
Reaction score
14
I put an auto save setting in my game, but I noticed there’s no Game - Save game there’s 'save then load', also 'save then change level' but nothing to just 'save'. I tried custom script "call SaveGame(SaveFile.w3z)" it had a error, said it needed a name or something.

how would i save the game? (single player)
 

Exide

I am amazingly focused right now!
Reaction score
448
Trigger:
  • Actions
    • Game - Save game as SaveFile.w3z and load LoadFile.w3z (Skip scores)


=

JASS:

    call SaveAndLoadGameBJ( "SaveFile.w3z", "LoadFile.w3z", false )


JASS:

function SaveAndLoadGameBJ takes string saveFileName, string loadFileName, boolean doScoreScreen returns nothing
    call SaveGame(saveFileName)
    call LoadGame(loadFileName, doScoreScreen)
endfunction


So basically you should be able to do this:
Trigger:
  • Actions
    • Custom script: call SaveGame("saveFileName.w3z")


I haven't tried it, though.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top