Jump to content
Sign in to follow this  
Arma-2-Guru

Changing rotation of attached objects.

Recommended Posts

Hello, I was wonder how you change what way you are facing when using the attachTo command, I have a soldier in the back of a C130 and want him facing out the back where the ramp is. The attachTo part works fine I just don't know how to change what way he faces, any ideas? here is my command so far

this attachTo [C130, [0,-4.25,-3.5]];

Share this post


Link to post
Share on other sites

Haha, thanks man. The only problem I have now is that I'm using it as a script by creating a .sqs file with the code:

player attachTo [u375 [0,0,0]]; player setDir 180;

This attaches the player to the vehicle but for some reason the rotation doesn't work when using it from the action menu. Basically I have a trigger which has

player addAction ["Stand In Back", "SIB.sqs"];

so I use the action and I get attached to the vehicle but without the desired rotation, any ideas?

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  

×