Moving few objects with AttachDynamicObjectToObject
#2

Quote:
Originally Posted by arad55
Посмотреть сообщение
Hello, I'm trying to attach a few objects to one main object, and then move the main object (so all other objects move together). I'm using streamer (and YSF), but it seems that eventually it moves only the main object, and the attached objects remain at their initial position.
AttachDynamicObjectToObject returns 1 on all attaches, and I am unable to move the attached objects either.

Example code:
pawn Код:
AttachDynamicObjectToObject(obj1, mainobj, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
MoveDynamicObject(mainobj, x, y, z+100, speed, rx, ry, rz);
With that code, only mainobj moves..
well, there many issues that caused by using YSF and streamer in same server.
do a test:
create a blank script and 4 objects, attach the 3 to one those object and try to move them
wihout YSF plugin and again try with YSF
Reply


Messages In This Thread
Moving few objects with AttachDynamicObjectToObject - by arad55 - 28.07.2017, 15:06
Re: Moving few objects with AttachDynamicObjectToObject - by Xeon™ - 28.07.2017, 15:10
Re: Moving few objects with AttachDynamicObjectToObject - by arad55 - 28.07.2017, 15:42
Re: Moving few objects with AttachDynamicObjectToObject - by Xeon™ - 28.07.2017, 15:50
Re: Moving few objects with AttachDynamicObjectToObject - by arad55 - 28.07.2017, 15:51
Re: Moving few objects with AttachDynamicObjectToObject - by Xeon™ - 28.07.2017, 15:59

Forum Jump:


Users browsing this thread: 1 Guest(s)