![]() |
![]() ![]() ![]() ![]() ![]()
|
Author | Topic: a question to alex & other ppls ------ > |
carlii |
![]() If you load a saved game, does Quest also start the 'Start of Game' script? |
Pikaflare |
![]() Yes, but you could use $loadmethod$ if you want something like variables tobe initated only when starting anew game. Like this: if ($loadmethod$ = normal) { ; everything you want loaded } I just included that in case you haven't thought of it. I hope this is what you meant. Maxpowr |
Tyrant |
![]() On another note, does anybody know if saved games save the contents of string variables? I would assume they would, but I haven't tried it yet. That would save me the time of having to ask what the player's name is everytime they start the game. |
Alex |
![]() Well of course saved games save the contents of string variables! Things would get pretty hairy otherwise :) |
carlii |
![]() Pikaflare, how would I put that code into QDK? |
Computer Whizz |
![]() Alex - is there a limit on the save game file size? I don't want to put in too many variables and find that the player can't save ;) Computer Whizz |
Alex |
![]() The only limit in Quest is the maximum size of an integer, which is 32767 under Windows 95 et el. So as long as you have fewer variables than that, you should be OK :) |
Pikaflare |
![]() Simply add something like that to your Start game script. $loadmethod$ can be 'normal' or 'loaded' if ($loadmethod$ = normal) { everything you want done if the game isn't loaded from a saved game. } It's all in the help file. If you still need help hopefully one of us will be here. Maxpowr |