Sequencing Correctly

Started by NemesisRogue99, Tue 10/02/2004 21:58:44

Previous topic - Next topic

NemesisRogue99

I expect I'll probally have a problem or question or two a day...I'm sorry, lol...

But thanks for your helps so far, I'm learning quite a bit...

I can't get a character to move, THEN do a quick animation...

All I need is to move a character to its coordinates....THEN do an animation....then make an object appear....

Making the animation work and the object appearing is no prob...but the animation always happens first....some of my attempts the character moves after the object, sometimes it doens't move at all....

But could you help me out?

Takara

Use MoveCharacterBlocking(CHARID, X, Y, 0); in script to make sure the walking happens before anything else.

Takara.

NemesisRogue99

Its doing the same thing....

I have this....

Look at Object:
Run Script (Character walks to coordinateds)
Quick Animation
Switch Object Back On

Gilbert

IS the character really moved by using MoveCharacterBlocking(CHARID, X, Y, 0); ?

Also, make sure that the character can reach the destination via a walkable path (check the walkable areas).

Dorcan

Err isn't the "run script" command the last one executed ?

You can put everything in the run script command :

MoveCharacterBlocking(CHARID, x, y, 0);
SetCharacterView(CHARID, view);
AnimateCharacterEx(loop, delay, 0, 0, 1);
ReleaseCharacterView(CHARID);
ObjectOn(object);

Gilbert

Quote from: Dorcan on Wed 11/02/2004 09:45:05
Err isn't the "run script" command the last one executed ?

No, I don't think so, as I'd just tried it, unless I missed something, or he's using some old versions.

Anyway, just try Dorcan's suggestion, as if you use the script in an interaction, you don't really need to mix it with the interaction actions, as you can do anything with scripts anyway.

SMF spam blocked by CleanTalk