Hi everybody, I need to an object play an animation then after the animation has been completed I need to play a video, problem is that I can't do it cause I dont know when the object animation stops, the wonder would be when the object reaches the last frame then I can safelly play the video...I used this but it doesn't work, cause I don't know when the object animation stops!?
if(death)
{
int i = dbRND(1);
switch(i)
{
case 0: dbPlayObject(1,1103,1139);
break;
case 1: dbPlayObject(1,1151,1194);
break;
}
if(dbObjectPlaying(1)==0)
dbPlayAnimation(1,0,0,dbScreenWidth(),dbScreenHeight());
}