SA-MP Forums Archive
SetDynamicObjectPos - 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: SetDynamicObjectPos (/showthread.php?tid=619517)



SetDynamicObjectPos - MerryDeer - 18.10.2016

Hi,

Can i SetDynamicObjectPos and MoveDynamicObject instantly call? or i need to settimer?


Re: SetDynamicObjectPos - Micko123 - 18.10.2016

You can move it but you cant get it back without timer..


Re: SetDynamicObjectPos - Micko123 - 18.10.2016

Unless you make CMD for getting it back.. but it is easier with timer


Re: SetDynamicObjectPos - MerryDeer - 18.10.2016

I mean, like object is created somewhere else, i need to teleport him and move to my direction, and i need to know can i moveobject when i teleport or need to wait a little bit to wait until object teleport


Re: SetDynamicObjectPos - ThatFag - 18.10.2016

The code
Код:
 SetDynamicObjectPos
- it sets the objects post without waiting to move , just teleports the object to the location

Код:
MoveDynamicObject
- this moves the dynamic object with a time you want to set to it


Re: SetDynamicObjectPos - MerryDeer - 18.10.2016

Yes i know but my code is like that:

Код:
CMD:blbla( )
{
SetDynamicObjectPos
MoveDynamicObject
}
I set object pos, and i need from that pos movedynamicobject, so i can do that?


Re: SetDynamicObjectPos - ThatFag - 18.10.2016

I dont think that will be possible as long as you have an object created at X place so the
Код:
MoveDynamicObject]
it would start to move from the point you've created it and not from the post where it is right now.


Re: SetDynamicObjectPos - MerryDeer - 18.10.2016

I make test on test server and it worked for my, but i don't know it's will work every time.