The animation skips

Started by viktor, Sat 07/08/2004 10:37:30

Previous topic - Next topic

viktor

Ok this is what I did:


But for some reason the instead of doing awerithing in this order the object changes the view and instead of animating it goes straight on to the next room. hat's the problem here. There isn't anything coverd in the manual fora a situatin like this.
signature" border="0
<a target='_blank' href='https://imgbb.com/'>resurrection pictures for facebook</a>

strazer

The object animation has to be blocking, so it waits for the animation to finish before executing the next command.
I think the
Object - Start object animating
command is non-blocking, thus it starts the animation and immediately runs the next command (going to new room).

Remove the last 2 commands, put a "Run script" command there instead and script:

AnimateObjectEx(3, 0, 5, 0, 0, 1); // animate object blocking
NewRoomEx(5, 0, 0);

viktor

signature" border="0
<a target='_blank' href='https://imgbb.com/'>resurrection pictures for facebook</a>

SMF spam blocked by CleanTalk