FANDOM


NPC says something outloud without looking away from target object Edit

What It Does Edit

Basically, if you need to have a NPC blow off the player and go about doing what he is doing, this will do the trick. This doesn't make the NPC look at the object, only turn to face it.

You will need... one object for the NPC to face. This can be anything, if you want the NPC to look at a wall, use an invisible object. Give the object a unique tag. Put the script in the OnConversation and OnDisturbed of the NPC.

Script Edit

void main ()
{
object oFocalPoint = GetObjectByTag("UNIQUE_OBJECT_TAG");
ActionSpeakString("Can't you see?  I am busy staring at nothing!");
SetFacingPoint(GetPosition(oFocalPoint));
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.