Hi everybody, i has got 2 models. The gondel, and them arm.
The gondel needs to attached to the arm, with the function Vec_for_vertex but won't work.
Here's my code:

Code:
VECTOR* temp_b;

ENTITY* arm;
ENTITY* gondel;

action arm()
{
		arm = me;
		set(my,PASSABLE);
		vec_for_vertex(&temp_b,my,49);
}

action gondel()
{
		gondel = me;
		set(my,PASSABLE);
		vec_for_vertex(&temp_b,arm,1);
		my.x = &temp_b.x;
                my.y = &temp_b.y;
       		my.z = &temp_b.z;
		
	
}


When i run my project, the gondel will be placed very high in the air, and on the left side inside the holow cube..
Can someone help me to fix my problem? Or did i script it wrong?

Best Regards,
Warkey