I have just one more questin.
So action ragdoll worked;
________________________________________________________________________________
ENTITY* actor;

action ragdoll()
{
actor = me;
wait (1);
my.event = die_soldier();
}
________________________________________________________________________________

But why does this don`t work?;

________________________________________________________________________________

function collision();
VECTOR speed;

action free_camera()
{
player = my;
my.skill1 = 1;
my.emask |= (ENABLE_IMPACT | ENABLE_ENTITY | ENABLE_BLOCK);
c_setminmax(me);
my.event = collision;
while (my.skill1 == 1)
{
c_move (my, vector(10 * (key_w - key_s) * time_step, 6 * (key_a - key_d) * time_step, 0), nullvector, GLIDE);
camera.genius = me;
camera.pan -= 15 * mouse_force.x * time_step;
camera.tilt += 15 * mouse_force.y * time_step;
camera.x = player.x - 200;
camera.y = player.y;
camera.z = player.z + 20;
wait (1);
}
}

function collision()
{
wait(1);
my.skill1 = 0;
my.event = die_soldier();
}
________________________________________________________________________________

Whats wronge here?
thanks
greads


I have know Gamestudio/A7 Commercial Edition 7.84