MoveCharacter

Started by rtf, Wed 11/02/2004 23:54:43

Previous topic - Next topic

rtf

Hahaha  OK, I am laughing at myself for the number of posts I put on here.  I'm sorry.

anyway...
I have another problem.  Whenever I do the MoveCharacter command, weather from the Interactions editor or from a script, everything is fine, with no errors.
That is, until I test the game.
Whenever the MoveCharacter command should be called, all the game does is imitate a "Wait" function.


DisplaySpeech (6, "This string is only a test!!!");
Wait (100);
MoveCharacter (1, 210, 84);
DisplaySpeech (1, "I wonder what he was saying...");


Yeah.  So the character should move, but all he does is Wait.

Is there a better command that I should use?  What does MoveCharacterBlocking mean?  Is that right?

Thanks for the help.  I need it becasue there is an important thing in my game that needs this command.

UPDATE:
Could it have anything to do with the "Wait till move is finished" thing in the interactions editor problem?
I fail at art.

Takara

I would guess what you really want to do is this....

DisplaySpeech (6, "This string is only a test!!!");
MoveCharacterBlocking (1, 210, 84, 0);
DisplaySpeech (1, "I wonder what he was saying...");

This should display speech, move the character, and then display the next speech.  MoveCharacterBlocking prevents anything else happening until the character reaches its destination.  Having the Wait(100) in there would've just caused the game to pause temporarily.

Hope that helps,

Takara.

PS, I like being helpful, so keep asking questions! ;)

rtf

Dont worry about the questions

i have a load of them

ps  I loved that Simpsons game
I fail at art.

SMF spam blocked by CleanTalk