• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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:
Level 9
Joined
Oct 11, 2009
Messages
477
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.
 
Level 2
Joined
Sep 20, 2010
Messages
12
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.
Top