Posts: 225
Threads: 28
Joined: Apr 2010
Reputation:
0
Hello Everyone,
I'm trying to script gate that opens by command.
My Question is, there are some way to convert SetObjectRot to MoveDynamicObject (or just to MoveObject) ?
Posts: 79
Threads: 3
Joined: Feb 2009
Reputation:
0
Not sure, but I think we can with some angle calculations. But why don't you simply use MoveObject?
Posts: 225
Threads: 28
Joined: Apr 2010
Reputation:
0
The script that I working on him it's script that I and my friend built year ago.
We took some vacation from SAMP.
So now I don't remember everything, I don't even remember why we used SetObjectRot.
So now I need help to convert it to MoveObject.
Posts: 79
Threads: 3
Joined: Feb 2009
Reputation:
0
I think you should re-code the gate command using MoveObject if you have the map or the objects info. It would be easier. :P
Posts: 225
Threads: 28
Joined: Apr 2010
Reputation:
0
But maybe there are some way to convert it?
Posts: 1,029
Threads: 96
Joined: May 2010
Reputation:
0
Use Edit>Replace I guess, and replace them.
Posts: 1,495
Threads: 131
Joined: Jul 2009
Reputation:
0
dude... "SetObjectRot" changes the heading of an object..
"MoveObject" ONLY the position... you can only change the x, y and z coord with MoveObject and the ax, ay, az with SetObjectRot...
if you are using a streamer check out the release page of it (on this forum) and check out for the functions..
I guess it'll be something like SetDynamicObjectRot(objectid, ax, ay, az);
so you cannot replace SetObjectRot with MoveObject
Posts: 225
Threads: 28
Joined: Apr 2010
Reputation:
0
Thank you Sascha !!!!!!
Everything Working.