Difference between revisions of "Osiris/API/CharacterLookAt"

From Divinity Engine Wiki
Jump to: navigation, search
(Documented CharacterLookAt)
 
m
Line 9: Line 9:
 
* Helper [[Osiris/Shared/DB_DoNotFace|DB_DoNotFace]]
 
* Helper [[Osiris/Shared/DB_DoNotFace|DB_DoNotFace]]
  
[[Category:Osiris Calls]]
+
[[Category:Osiris Calls|CharacterLookAt]]

Revision as of 16:16, 19 December 2017

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