SA-MP Forums Archive
Does MoveObject update positions? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Does MoveObject update positions? (/showthread.php?tid=576864)



Does MoveObject update positions? - Excelâ„¢ - 07.06.2015

When you use MoveObject, does the position of object also updates while it's moving.

For example: We move an object from X to Y and the distance is 10 units. Let the object be at middle i.e. at 5 units from X. So can I detect the position of Object using GetObjectPos at that instant?


Re: Does MoveObject update positions? - JaydenJason - 07.06.2015

Nope, you can attach the object to an invisible object, move invisible object and get the attached object its position

edit; shit read it wrong, yes it updates with moveobject

i thought it said editobject