Osiris/API/ItemMoveToTrigger

From Divinity Engine Wiki
Revision as of 15:24, 1 July 2018 by Tinkerer (talk | contribs)
Jump to: navigation, search
Full Definition(s)
  • call ItemMoveToTrigger((ITEMGUID)_Item, (TRIGGERGUID)_Trigger, (REAL)_Speed, (REAL)_Acceleration, (INTEGER)_UseRotation, (STRING)_Event, (INTEGER)_DoHits)
Description

Performs the same operation as ItemMoveToPosition, by taking the position of _Trigger at the time this call is made, and moving the item to that position. Additionally, if _UseRotation is 1 then during its trajectory the item will gradually rotate to the rotation of _Trigger.

Notes
See Also