Osiris/API/CharacterMoveTo

From Divinity Engine Wiki
Jump to: navigation, search
Full Definition(s)
  • call CharacterMoveTo((CHARACTERGUID)_Character, (GUIDSTRING)_Target, (INTEGER)_Running, (STRING)_Event, (INTEGER)_IncreaseSpeed)
Description

Causes _Character to start moving to _Target, either walking or running depending on whether _Running is 0 or 1. Once _Character has arrived at its destination, the event _Event will be raised for _Character. If _IncreaseSpeed is 1, _Character will starting moving increasingly faster the longer it has been moving.

Notes
See Also