SlideObject
Docslocal retval = SlideObject(object, toX, toY, toZ, speedX, speedY, speedZ, collision)Description
Returns true if the object has finished moving.
If false, moves the object towards the specified X, Y and Z coordinates with the specified X, Y and Z speed.
See also: https://gtagmodding.com/opcode-database/opcode/034E/
Has to be looped until it returns true.
Parameters
| Name | Type | Description |
|---|---|---|
object | Object | — |
toX | float | — |
toY | float | — |
toZ | float | — |
speedX | float | — |
speedY | float | — |
speedZ | float | — |
collision | BOOL | — |
Returns
BOOLReturns TRUE (1) or FALSE (0).