Streamer Help - AttachDynamicAreaToVehicle
#1

Hey all,

I want to attach a Dynamic area to a car, and want to use the streamers AttachDynamicAreaToVehicle.

But i need to attach it with an offset, so it sits 10 meters in-front of the car, so when it moves and rotates the Area is still offset 10M in-front of the car.

Does anyone have any ideas how to do this, as i have never used this function before?

Thanks,

Grim.
Reply
#2

Use this function
pawn Код:
native AttachDynamicAreaToVehicle(areaid, vehicleid);
As you can see, there isn't a parameter for an offset, so I'm not quite sure whether you can set it with an offset. As far as I know, you can use an object editor and attach the required area to the vehicle with the required offsets.
Reply
#3

Only CreateDynamicCircle and CreateDynamicSphere, because console print message "*** Streamer Plugin: AttachDynamicAreaToVehicle: Only circles and spheres may be attached to vehicles"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)