docs/source/reference/lua-scripting/ai/escort.rst
.. include:: ../version.rst
Escort another actor to the given location.
Arguments
.. list-table:: :header-rows: 1 :widths: 20 20 60
GameObject <../openmw_core.html##(GameObject)>_ [required]3d vector <../openmw_util.html##(Vector3)>_ [required]Example
.. code-block:: Lua
actor:sendEvent('StartAIPackage', {
type = 'Escort',
target = object.self,
destPosition = util.vector3(x, y, z),
duration = 3 * time.hour,
isRepeat = true
})