Have you read my previous post? it should be my.ambient=100

Quote:


can you write me an example how get i the object to walk ?





Code:

var moveSpeed = 2;
action myObject()
{
c_setminmax(my);
while(my)
{
ent_animate(my,"walk",my.skill1,ANM_CYCLE);
my.skill1 += moveSpeed * time_step;
my.skill1 %= 100;

c_move(my,vector(moveSpeed*time_step,0,0),nullvector,GLIDE);
wait(1);
}
}



Just an example. Usually you can find your answer by
searching the forum or read the AUM.

Last edited by vlau; 09/13/07 17:15.