replay steps

Started by passer-by, Sun 13/11/2005 11:11:06

Previous topic - Next topic

passer-by

Hi

Is there any way to follow the character's steps and replay the game in a film-like manner up to the point the player succeeded or failed?

monkey0506

You could use global ints and cutscene.  Look up SetGlobalInt, GetGlobalInt, StartCutscene, and EndCutscene in the manual.

Basically whenever the user took some variable action you would set a global int to determine which course of action they took, and then recreate the action during the cutscene.

passer-by


Pumaman

It would be quite complex to manage that, though. There is a built-in Replay feature but it's undocumented because it doesn't quite work properly yet. Also, in order to play back a replay you have to exit the game and load it up again, so that wouldn't be any good for your purposes anyway.

passer-by

Quote from: Pumaman on Sun 13/11/2005 17:19:55
It would be quite complex to manage that, though. There is a built-in Replay feature but it's undocumented because it doesn't quite work properly yet. Also, in order to play back a replay you have to exit the game and load it up again, so that wouldn't be any good for your purposes anyway.


I know, I always steer clear of variables anyway!  ;D  I just hoped it would be simpler. If you have ever played "The Sting" you know what it should look like .


SMF spam blocked by CleanTalk