Jump to content
Sign in to follow this  
dragonsyr

Attach objects to unit

Recommended Posts

Is it possible to attach chemlights i a unit hands ??(both hands and not in fist but opposite side)

Share this post


Link to post
Share on other sites

cl = "Chemlight_red" createVehicle [0,0,0];

cl attachTo [unit, [-0.05,-0.01,0.07], "Lefthand"];

"Righthand" will also work, you will need to adjust the numbers to get the correct position.

There will be an issue when getting in vehicles, the light will be left floating outside wherever you got in.

Share this post


Link to post
Share on other sites

and how about attachto objects? i try that

_cr = "FlagChecked_F" createVehicle [0,0,0];
_cr attachTo [followme, -0.05,-0.01,0.03]; //followme is a vehicle="B_MRAP_01_gmg_F";

i get no errors ,but nothing spawned on vehicle

i tried many combination of number [] {} etc

Share this post


Link to post
Share on other sites

it should work but the syntax is wrong it should be

_cr attachTo [followme,[ -0.05,-0.01,0.03]];

however there are some objects you can't attachto

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  

×