Jump to content
Sign in to follow this  
TorpolM

How to Attach Camera to man's head who in vehicle?

Recommended Posts

I'm making Head camera script.

I succeeded attach camera to man by use this script.

_cam = "camera" camCreate (position _unit);
_cam attachTo [_unit,[0,0,0],"head"];

But,when he got in the vehicle,camera was detached.

Share this post


Link to post
Share on other sites

Try:

_cam attachTo [(vehicle _unit),[0,0,0],"head"];

 

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  

×