• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

convert the save/load code to name of saved game.

Status
Not open for further replies.
Level 2
Joined
Sep 20, 2010
Messages
12
Is that possible to create a trigger that does this:

1)Generate a save/load code for rpg's game (already exist)

2)Save the game and rename the saved game to the generated save/load code.(this is the things that I can't figured out to make it work)




My objective to create such trigger is :
a)No need to write down the save/load code which is usually quite long.
b)For convenience purpose(we only need to press Ctrl+C at the load game window where the code exist as the name of saved gamed,then paste it at the message bar of the game).
 
Last edited:
I don't think that is possible (unless new vJass systems like these will appear in the site).....

One way of that as far as I know is save the game via trigger action.

Q:Why trigger action?
A:Because you can name the save file in any way you want.
 
Does this trigger works?

(I save the game as ABC)
(X is the string variable generated for the save/load code purpose)


[Event] Game - The game is about to be saved

[Action] Wait 0.10 seconds
[Action] Game - Create a copy of the ABC saved-game and name it X

:vw_wtf:
 
Does this trigger works?

(I save the game as ABC)
(X is the string variable generated for the save/load code purpose)


[Event] Game - The game is about to be saved

[Action] Wait 0.10 seconds
[Action] Game - Create a copy of the ABC saved-game and name it X

:vw_wtf:

instead of asking why dont you try it?

why dont just make an action with no events that will do this:

[Action] I save the game as X

and just call it at the end of the save trigger?

And on this:
No need to write down the save/load code which is usually quite long.
-but it provides multi-computer support... saving the game with the save-code as a file name is not so multi-computer supporting...
 
Status
Not open for further replies.
Back
Top