Moving Objects? -
Scenario - 18.12.2010
Evening. I have the following object streamed to the server using Incognito's Streamer Plugin. It's not a streaming issue, it's a moving issue.
Can I "move" those objects, or not?
Re: Moving Objects? -
Mauzen - 18.12.2010
Isnt this simply possible with MoveDynamicObject or SetDynamicObjectRot, or did I get wrong what you want to do?
Re: Moving Objects? -
Scenario - 18.12.2010
Quote:
Originally Posted by Mauzen
Isnt this simply possible with MoveDynamicObject or SetDynamicObjectRot, or did I get wrong what you want to do?
|
It is, but the darn thing doesn't budge. I know I got the coordinates correct and what not...
Re: Moving Objects? -
Sledge - 18.12.2010
Unstream it then move it. good rdidance
Re: Moving Objects? -
Scenario - 18.12.2010
I tried moving it to 99.999, 99.999, 99.999 and 0.0, 0.0, 0.0; it didn't do anything. It's using the classic "CreateObject" and "MoveObject" right now.
Re: Moving Objects? -
WillyP - 18.12.2010
Possible SAMP bug..? - I highly doubt; but that's the only thing I can think of.
Re: Moving Objects? -
MrDeath537 - 18.12.2010
Maybe you forgot "speed"?
Код:
MoveObject(objectid, Float: x, Float: y, Float: z, Float: speed)
But if also can't use SetObjectPos ... :/
Re: Moving Objects? -
Scenario - 18.12.2010
For what it's worth, this is my code:
pawn Код:
SFPD[0] = CreateObject(968,-1572.20361328,658.78552246,6.76437235,0.00000000,89.49993896,90.25003052);
MoveObject(SFPD[0], -1572.20312500, 658.78515625, 6.76437235, 2.0);
Re: Moving Objects? -
WillyP - 18.12.2010
Try making the speed quicker? I don't think it would change anything, but it's worth a try.
Re: Moving Objects? -
Babul - 18.12.2010
those coordinates (-1572,658,6) are for the other barrier, at the bottom entrance, and the moving target equals them - so you wont see any difference. i guess your barrier at the top has coords like -1701,687,24
are you sure you posted the proper lines? since your picture shows the other barrier, the coords are definetly not the same ^^
edit: i spotted your coords for the barriers:
Код:
//Top Barrier Closed
Test[0]=CreateObject(968,-1701.4300,687.7495,24.7500,0.0000,90.0000,-90.0000,100);
//Top Barrier Opened
Test[1]=CreateObject(968,-1701.4300,687.7495,24.7500,0.0000,0.0000,-90.0000,100);
//Bottom Barrier Closed
Test[2]=CreateObject(968,1572.2010,658.6796,6.9500,0.0000,90.0000,-90.0000,100);
//Bottom Barrier Opened
Test[2]=CreateObject(968,1572.2010,658.6796,6.9500,0.0000,0.0000,-90.0000,100);
edit: those euler angles DRIVES ME NUTS!!! D: