Osiris/API/CharacterLookAt

From Divinity Engine Wiki
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