Difference between revisions of "Osiris/API/CharacterLookAt"

From Divinity Engine Wiki
Jump to: navigation, search
m
m
 
Line 6: Line 6:
 
* /
 
* /
 
===== See Also =====
 
===== See Also =====
 +
* [[Osiris/API/CharacterLookFromTrigger|CharacterLookFromTrigger]]
 
* [[Osiris/API/SetAnimationOverride|SetAnimationOverride]]
 
* [[Osiris/API/SetAnimationOverride|SetAnimationOverride]]
 
* Helper [[Osiris/Shared/DB_DoNotFace|DB_DoNotFace]]
 
* Helper [[Osiris/Shared/DB_DoNotFace|DB_DoNotFace]]
  
 
[[Category:Osiris Calls|CharacterLookAt]]
 
[[Category:Osiris Calls|CharacterLookAt]]

Latest revision as of 22:48, 23 January 2018

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