NPC facing character all the time (SOLVED)

Started by cjhrules, Tue 30/05/2006 17:56:21

Previous topic - Next topic

cjhrules

Is there a way to get a NPC to constantly face a character. So when a character moves the NPC follow the character with his face.

I have tried FaceCharacter() but the NPC doesn't update.

Ubel

You should put the FaceCharacter() script into repeatedly_execute(). If you want the NPC to only face a character in one specific room, then put the code into the room's repeatedly execute script.

Or if you want the NPC to face your character where ever the character is, then put the code in to the repeatedly_execute() function in Global Script.

cjhrules

#2
(Edit by strazer: No need to quote the whole post directly above yours!)

that was fast :) thanks!

SMF spam blocked by CleanTalk