Jump to content
Sign in to follow this  
D.Ginzbourg

how do i make the 'player' face different direction when using attachTo

Recommended Posts

how do i make the 'player' face different direction when using attachTo command? because every time i attach the player it alway faces the same direction as the object i attached to.

Share this post


Link to post
Share on other sites

You can't. There is no traditional way. You can bypass it by attaching i.e a nested mg to the vehicle and then moveInDriver (or moveInTurret - check which one works) player inside the attached weapon.

EDIT:

oh, sorry, misunderstood your question... I'll try to find it out right now

Edited by RazorX

Share this post


Link to post
Share on other sites
0:25 is best example..... and at the end you can see him clearly using attachto............. Edited by D.Ginzbourg

Share this post


Link to post
Share on other sites

after attachTo use:

object setDir direction

(where direction is in degrees)

the direction is relative to the object

Share this post


Link to post
Share on other sites

here you go i use. gun4 attachTo [tower,[0,0,0]]; gun4 setDir 270;

270 is 270 n the amzuit dial when placing an object so 0 or 360 is the original position

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×