PDA

View Full Version : spare wheel



Apouh
Aug 2 2009, 11:04
Hello,

A wip of Spare Wheel.

I ve a bug with the setpos, if I change a wheel on a bridge, aircraft carrier,... i'm going under it.

If you have an idea...

I need setpos because i use "movetodriver" to make the vehicle local to player.
Without that it is not mp compatible.

http://www.youtube.com/watch?v=9wvtJeCcobI

sgt_flyer
Aug 2 2009, 14:35
have you tried the attachto command ? - objects attached to something else keeps their relative position to the vehicle

would do

set the soldier's direction, attach him with the good offset to the vehicle, play the animation, and once the wheel has been changed, detach the soldier.

Apouh
Aug 2 2009, 15:15
:yay: Thank you !
That's what i needed :)

ziiip
Aug 2 2009, 20:20
Nice stuff, I remember this feture was promised by the devs a few years ago. :D