Difference between revisions of "Osiris/API/ItemMoveToTrigger"
From Divinity Engine Wiki
(Documented ItemMoveToTrigger) |
(No difference)
|
Revision as of 15:55, 1 July 2018
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 ItemMoveToPosition.