Originally Posted by Thoro
Try this:


Code
EVENT
ON
	OnSomething()
ACTIONS
	SetPriority(Point, 10000)

Code
REACTION Point, 0
USAGE PEACE
ACTIONS
	CharacterLookAt(YourTarget)
	CharacterPlayAnimation("use_activate")
	SetPriority(Point, 0)



Sorry, but this mostly went over my head. I tried it as-is and it wouldn't compile. I tried including these bits after a trigger based IF statement:


CharacterLookAt(_Player)
CharacterPlayAnimation("use_activate")
SetPriority(Point, 0)

The NPC did turn to look at my character but the rest didn't seem to execute. Where did you get "use_activate"? I tried a couple of different scripts from Resource Manager but they didn't fire either.

Thanks for helping me get him to look. That's a start.

**Edit: I wasn't paying attention to the syntax clues in the story editor. CharacterPlayerAnimation worked once I had it formed properly.

Thanks


Last edited by Mag; 11/09/14 02:22 AM.