Osiris/API/ItemMoveToTrigger

From Divinity Engine Wiki
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