skipping loading

Started by joelphilippage, Tue 08/05/2007 23:10:35

Previous topic - Next topic

joelphilippage

Is there a way that I could make a key such as escape cause the game to skip any waiting sequences? So if the character is animating with blocking style or something similar, it will skip over it.



Khris

Look up StartCutscene() and EndCutscene().

joelphilippage

#2
I know those commands but I would like something throughout the whole game so if the wait command is used you can skip it.



Ashen

It depends what exactly you want it for, but there's a couple of options in the manual.
There's SkipUntilCharacterStops, but that's only good for movement, not animation. You could also try WaitKey (and/or WaitMouseKey) for a skippable Wait alternative but again I don't think that's much use for skipping animations. It might be possible to code SkipUntilObject/Animation/WhateverStops-type command, but I think using a lot of Start/EndCutscene commands is the easiest way to go.
I know what you're thinking ... Don't think that.

joelphilippage

OK then. thanks for the help. I just made my own commands for start and end cutscene so it so I just have to put start(); before and stop(); after to make things quicker.



SMF spam blocked by CleanTalk