FaceTarget

From Eternity Wiki
Jump to: navigation, search

Type: AI pointer, normal

Purpose: Makes an object face its target, if it has one. If the object's target is partially invisible (Bits field SHADOW), totally invisible (Bits2 field DONTDRAW), or a Heretic ghost (Bits3 field GHOST), the object will face toward the target, and then have a random amount between -45 and 45 degrees added to its angle.

Thunk: Yes.