Osiris/API/CharacterLookAt

From Divinity Engine Wiki
Revision as of 22:48, 23 January 2018 by Tinkerer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • call CharacterLookAt((GUIDSTRING)_Character, (GUIDSTRING)_Target, (INTEGER)_SnapToTarget)
Description

Makes the character _Character turn and look at object _Target, which may be a character, item or trigger. If _SnapToTarget is 0, _Character will fluently turn until it faces _Target. If _SnapToTarget is 1, _Character will immediately snap to the target orientation.

Notes
  • /
See Also