can't get FaceCharacter() to work.

Started by evilspacefart, Wed 04/06/2003 05:19:32

Previous topic - Next topic

evilspacefart

script as follows:

MoveCharacterBlocking(EGO,259,195,0);
FaceCharacter(EGO,STARFISH);
DisplaySpeech(STARFISH, "* snort snort *");

What am I doing wrong?
AGS 255 release

evilspacefart

#1
never mind... got it to work. Move player further away from target.

side note:
if you use FaceCharacter() in a script before a "run dialog" interaction in the interaction editor it will face the target after the interaction instead of before it.
anyone else getting that?
remedy - just use script, not interaction editor.

Pumaman

FaceCharacter/FaceLocation don't update the screen, you have to put a Wait(1); afterwards if you want that to happen.


Goldsmith

Well, lately I'm having trouble making both FaceCharacter and FaceLocation work. Using a FaceCharacter() + Wait(1) script in any interaction that involves one of the characters leaving the room in the end simply returns a "Character is not in the room" error when you test it. And FaceLocation just doesn't seem to be doing anythig if I use it with another command (it just executes the other command and doesn't make my character face a different location...

Pumaman

Can you post an example script that doesn't work?

SMF spam blocked by CleanTalk