Difference between revisions of "Osiris/API/CharacterMoveTo"
From Divinity Engine Wiki
(Osiris Core APIs) |
m |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
* call '''CharacterMoveTo'''(''(CHARACTERGUID)'''''_Character''', ''(GUIDSTRING)'''''_Target''', ''(INTEGER)'''''_Running''', ''(STRING)'''''_Event''', ''(INTEGER)'''''_IncreaseSpeed''') | * call '''CharacterMoveTo'''(''(CHARACTERGUID)'''''_Character''', ''(GUIDSTRING)'''''_Target''', ''(INTEGER)'''''_Running''', ''(STRING)'''''_Event''', ''(INTEGER)'''''_IncreaseSpeed''') | ||
===== Description ===== | ===== 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 ===== | ===== Notes ===== | ||
− | * | + | * See the notes of [[Osiris/API/CharacterMoveToPosition|CharacterMoveToPosition]] for usage details. |
− | |||
− | |||
− | |||
− | |||
===== See Also ===== | ===== See Also ===== | ||
− | * Helper [[Osiris/Shared/ProcCharacterMoveTo]] | + | * [[Osiris/API/CharacterFlushQueue|CharacterFlushQueue]] |
− | * Helper [[Osiris/Shared/ProcStateManagerCharacterMoveTo]] | + | * [[Osiris/API/CharacterLookFromTrigger|CharacterLookFromTrigger]] |
− | + | * [[Osiris/API/CharacterMoveToPosition|CharacterMoveToPosition]] | |
− | [[Category:Osiris Calls]] | + | * [[Osiris/API/CharacterPurgeQueue|CharacterPurgeQueue]] |
+ | * [[Osiris/API/ItemMoveToTrigger|ItemMoveToTrigger]] | ||
+ | * [[Osiris/API/StoryEvent|StoryEvent]] | ||
+ | * [[Osiris/API/TeleportTo|TeleportTo]] | ||
+ | * Helper [[Osiris/Shared/ProcCharacterMoveTo|ProcCharacterMoveTo]] | ||
+ | * Helper [[Osiris/Shared/ProcStateManagerCharacterMoveTo|ProcStateManagerCharacterMoveTo]] | ||
+ | |||
+ | [[Category:Osiris Calls|CharacterMoveTo]] |
Latest revision as of 14:46, 1 July 2018
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 the notes of CharacterMoveToPosition for usage details.