[SOLVED] How to make an animated cutscene

Started by nightmarer, Sat 21/03/2020 00:37:53

Previous topic - Next topic

nightmarer

Hello everyone.

I'm trying to create an animated cutscene.
I have these cutscene in 60 frames, each one a different picture.
I'm checking the manual and I don't know how to do it.
QuoteAnimating property (object)
(Formerly known as IsObjectAnimating, which is now obsolete)
readonly bool Object.Animating
Returns 1 if the specified object is currently animating.
Returns 0 if the object has finished its animation.
This property is read-only. To change object animation, use the Animate command.

Example:

object[2].Animate(5, 0);
while (object[2].Animating) Wait(1);
will animate object 2 and wait until the animation finishes.
In reality, you would simply use the Blocking parameter of Animate so you wouldn't need to do this.

See Also: Object.Animate, Object.Moving, Object.StopAnimating, Object.X, Object.Y
I don't know if I need to create an object or an array for that.

nightmarer

#1
oh, finally I got it.
Thank you anyway.

SMF spam blocked by CleanTalk